/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/ |
H A D | DWARFAttribute.h | 30 dwarf::Attribute Attr = dwarf::Attribute(0); 35 return Offset != 0 && Attr != dwarf::Attribute(0); 44 static bool mayHaveLocationDescription(dwarf::Attribute Attr);
|
H A D | DWARFAbbreviationDeclaration.h | 30 AttributeSpec(dwarf::Attribute A, dwarf::Form F, int64_t Value) 34 AttributeSpec(dwarf::Attribute A, dwarf::Form F, Optional<uint8_t> ByteSize) 42 dwarf::Attribute Attr; 43 dwarf::Form Form; 70 return Form == dwarf::DW_FORM_implicit_const; 90 dwarf::Tag getTag() const { return Tag; } 100 dwarf::Form getFormByIndex(uint32_t idx) const { 109 dwarf [all...] |
H A D | DWARFUnit.h | 51 dwarf::FormParams FormParams; 78 const dwarf::FormParams &getFormParams() const { return FormParams; } 80 dwarf::DwarfFormat getFormat() const { return FormParams.Format; } 98 return UnitType == dwarf::DW_UT_type || UnitType == dwarf::DW_UT_split_type; 102 return dwarf::getUnitLengthFieldByteSize(FormParams.Format); 175 dwarf::FormParams FormParams = {0, 0, dwarf::DwarfFormat::DWARF32}; 178 uint8_t Version, dwarf::DwarfFormat Format) 183 dwarf [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ObjectYAML/ |
H A D | DWARFVisitor.cpp | 62 dwarf::Form Form = AbbrForm->Form; 67 case dwarf::DW_FORM_addr: 70 case dwarf::DW_FORM_ref_addr: 73 case dwarf::DW_FORM_exprloc: 74 case dwarf::DW_FORM_block: 81 case dwarf::DW_FORM_block1: { 90 case dwarf::DW_FORM_block2: { 99 case dwarf::DW_FORM_block4: { 108 case dwarf::DW_FORM_data1: 109 case dwarf [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFDataExtractor.cpp | 37 if (Encoding == dwarf::DW_EH_PE_omit) 44 case dwarf::DW_EH_PE_absptr: 55 case dwarf::DW_EH_PE_uleb128: 58 case dwarf::DW_EH_PE_sleb128: 61 case dwarf::DW_EH_PE_udata2: 64 case dwarf::DW_EH_PE_udata4: 67 case dwarf::DW_EH_PE_udata8: 70 case dwarf::DW_EH_PE_sdata2: 73 case dwarf::DW_EH_PE_sdata4: 76 case dwarf [all...] |
H A D | DWARFDebugLoc.cpp | 46 Index, dwarf::LocListEncodingString(Kind).data()); 52 case dwarf::DW_LLE_end_of_list: 54 case dwarf::DW_LLE_base_addressx: { 60 case dwarf::DW_LLE_startx_endx: { 71 case dwarf::DW_LLE_startx_length: { 80 case dwarf::DW_LLE_offset_pair: { 92 case dwarf::DW_LLE_default_location: 94 case dwarf::DW_LLE_base_address: 97 case dwarf::DW_LLE_start_end: 100 case dwarf [all...] |
H A D | DWARFDebugRnglists.cpp | 30 case dwarf::DW_RLE_end_of_list: 34 case dwarf::DW_RLE_base_addressx: { 45 case dwarf::DW_RLE_startx_endx: 50 case dwarf::DW_RLE_startx_length: { 62 case dwarf::DW_RLE_offset_pair: { 73 case dwarf::DW_RLE_base_address: { 82 case dwarf::DW_RLE_start_end: { 93 case dwarf::DW_RLE_start_length: { 128 if (RLE.EntryKind == dwarf::DW_RLE_end_of_list) 130 if (RLE.EntryKind == dwarf [all...] |
H A D | DWARFCompileUnit.cpp | 22 OS << " unit_type = " << dwarf::UnitTypeString(getUnitType()); 26 if (getVersion() >= 5 && getUnitType() != dwarf::DW_UT_compile)
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DwarfExpression.cpp | 9 // This file contains support for writing dwarf debug info into asm files. 30 emitOp(dwarf::DW_OP_lit0 + Value); 34 emitOp(dwarf::DW_OP_lit0); 35 emitOp(dwarf::DW_OP_not); 37 emitOp(dwarf::DW_OP_constu); 43 assert(DwarfReg >= 0 && "invalid negative dwarf register number"); 48 emitOp(dwarf::DW_OP_reg0 + DwarfReg, Comment); 50 emitOp(dwarf::DW_OP_regx, Comment); 56 assert(DwarfReg >= 0 && "invalid negative dwarf register number"); 59 emitOp(dwarf [all...] |
H A D | AsmPrinterDwarf.cpp | 61 case dwarf::DW_EH_PE_absptr: 63 case dwarf::DW_EH_PE_omit: 65 case dwarf::DW_EH_PE_pcrel: 67 case dwarf::DW_EH_PE_uleb128: 69 case dwarf::DW_EH_PE_sleb128: 71 case dwarf::DW_EH_PE_udata4: 73 case dwarf::DW_EH_PE_udata8: 75 case dwarf::DW_EH_PE_sdata4: 77 case dwarf::DW_EH_PE_sdata8: 79 case dwarf [all...] |
H A D | DIE.cpp | 47 if (Form == dwarf::DW_FORM_implicit_const) 70 AP->EmitULEB128(Tag, dwarf::TagString(Tag).data()); 73 AP->EmitULEB128((unsigned)Children, dwarf::ChildrenString(Children).data()); 81 dwarf::AttributeString(AttrData.getAttribute()).data()); 87 if (!dwarf::isValidFormForVersion(AttrData.getForm(), 96 dwarf::FormEncodingString(AttrData.getForm()).data()); 99 if (AttrData.getForm() == dwarf::DW_FORM_implicit_const) 113 << dwarf::TagString(Tag) 115 << dwarf::ChildrenString(Children) 120 << dwarf [all...] |
H A D | DwarfUnit.cpp | 9 // This file contains support for constructing a dwarf compile unit. 54 CU.addUInt(getActiveDIE(), dwarf::DW_FORM_data1, Op); 58 CU.addSInt(getActiveDIE(), dwarf::DW_FORM_sdata, Value); 62 CU.addUInt(getActiveDIE(), dwarf::DW_FORM_udata, Value); 66 CU.addUInt(getActiveDIE(), dwarf::DW_FORM_data1, Value); 91 DwarfUnit::DwarfUnit(dwarf::Tag UnitTag, const DICompileUnit *Node, 100 : DwarfUnit(dwarf::DW_TAG_type_unit, CU.getCUNode(), A, DW, DWU), CU(CU), 117 case dwarf::DW_LANG_C: 118 case dwarf::DW_LANG_C89: 119 case dwarf [all...] |
H A D | DwarfCompileUnit.cpp | 9 // This file contains support for constructing a dwarf compile unit. 55 static dwarf::Tag GetCompileUnitType(UnitKind Kind, DwarfDebug *DW) { 63 return dwarf::DW_TAG_skeleton_unit; 65 return dwarf::DW_TAG_compile_unit; 76 /// addLabelAddress - Add a dwarf label attribute data and value using 78 void DwarfCompileUnit::addLabelAddress(DIE &Die, dwarf::Attribute Attribute, 89 DD->getDwarfVersion() >= 5 ? dwarf::DW_FORM_addrx 90 : dwarf::DW_FORM_GNU_addr_index, 95 dwarf::Attribute Attribute, 101 Die.addValue(DIEValueAllocator, Attribute, dwarf [all...] |
H A D | DIEHash.cpp | 92 assert(Cur->getTag() == dwarf::DW_TAG_compile_unit || 93 Cur->getTag() == dwarf::DW_TAG_type_unit); 109 StringRef Name = getDIEStringAttr(Die, dwarf::DW_AT_name); 121 << dwarf::AttributeString(V.getAttribute()) 125 case dwarf::NAME: \ 135 void DIEHash::hashShallowTypeReference(dwarf::Attribute Attribute, 161 void DIEHash::hashRepeatedTypeReference(dwarf::Attribute Attribute, 174 void DIEHash::hashDIEEntry(dwarf::Attribute Attribute, dwarf::Tag Tag, 176 assert(Tag != dwarf [all...] |
H A D | DIEHash.h | 74 void hashAttributes(const DIEAttrs &Attrs, dwarf::Tag Tag); 84 void hashAttribute(const DIEValue &Value, dwarf::Tag Tag); 87 void hashDIEEntry(dwarf::Attribute Attribute, dwarf::Tag Tag, 93 void hashShallowTypeReference(dwarf::Attribute Attribute, const DIE &Entry, 97 void hashRepeatedTypeReference(dwarf::Attribute Attribute,
|
H A D | DwarfUnit.h | 9 // This file contains support for writing dwarf compile unit. 38 /// This dwarf writer support class manages information associated with a 54 // Holders for some common dwarf information. 76 DwarfUnit(dwarf::Tag, const DICompileUnit *Node, AsmPrinter *A, DwarfDebug *DW, 133 void addFlag(DIE &Die, dwarf::Attribute Attribute); 136 void addUInt(DIEValueList &Die, dwarf::Attribute Attribute, 137 Optional<dwarf::Form> Form, uint64_t Integer); 139 void addUInt(DIEValueList &Block, dwarf::Form Form, uint64_t Integer); 142 void addSInt(DIEValueList &Die, dwarf::Attribute Attribute, 143 Optional<dwarf [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DWARFLinker/ |
H A D | DWARFLinkerDeclContext.cpp | 56 case dwarf::DW_TAG_module: 58 case dwarf::DW_TAG_compile_unit: 60 case dwarf::DW_TAG_subprogram: 62 if ((Context.getTag() == dwarf::DW_TAG_namespace || 63 Context.getTag() == dwarf::DW_TAG_compile_unit) && 64 !dwarf::toUnsigned(DIE.find(dwarf::DW_AT_external), 0)) 67 case dwarf::DW_TAG_member: 68 case dwarf::DW_TAG_namespace: 69 case dwarf [all...] |
/freebsd-11-stable/contrib/llvm-project/lld/Common/ |
H A D | DWARF.cpp | 17 : dwarf(std::move(d)) { 18 for (std::unique_ptr<DWARFUnit> &cu : dwarf->compile_units()) { 24 dwarf->getLineTableForUnit(cu.get(), report); 38 if (die.getTag() != dwarf::DW_TAG_variable) 44 if (!dwarf::toUnsigned(die.find(dwarf::DW_AT_external), 0)) 48 unsigned file = dwarf::toUnsigned(die.find(dwarf::DW_AT_decl_file), 0); 53 unsigned line = dwarf::toUnsigned(die.find(dwarf [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/BinaryFormat/ |
H A D | Dwarf.cpp | 9 // This file contains support for generic dwarf information. 19 using namespace dwarf; 21 StringRef llvm::dwarf::TagString(unsigned Tag) { 32 unsigned llvm::dwarf::getTag(StringRef TagString) { 40 unsigned llvm::dwarf::TagVersion(dwarf::Tag Tag) { 51 unsigned llvm::dwarf::TagVendor(dwarf::Tag Tag) { 62 StringRef llvm::dwarf::ChildrenString(unsigned Children) { 72 StringRef llvm::dwarf [all...] |
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Core/ |
H A D | dwarf.h | 1 //===-- dwarf.h -------------------------------------------------*- C++ -*-===// 19 using namespace llvm::dwarf; 25 typedef llvm::dwarf::Tag dw_tag_t;
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ObjectYAML/ |
H A D | DWARFYAML.h | 48 llvm::dwarf::Attribute Attribute; 49 llvm::dwarf::Form Form; 55 llvm::dwarf::Tag Tag; 56 llvm::dwarf::Constants Children; 103 llvm::dwarf::UnitType Type; // Added in DWARF 5 117 dwarf::LineNumberOps Opcode; 119 dwarf::LineNumberExtendedOps SubOpcode; 236 io.enumCase(value, "DW_TAG_" #name, dwarf::DW_TAG_##name); 238 template <> struct ScalarEnumerationTraits<dwarf::Tag> { 239 static void enumeration(IO &io, dwarf [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | DIE.h | 51 dwarf::Attribute Attribute; 54 dwarf::Form Form; 60 DIEAbbrevData(dwarf::Attribute A, dwarf::Form F) 62 DIEAbbrevData(dwarf::Attribute A, int64_t V) 63 : Attribute(A), Form(dwarf::DW_FORM_implicit_const), Value(V) {} 67 dwarf::Attribute getAttribute() const { return Attribute; } 68 dwarf::Form getForm() const { return Form; } 84 dwarf::Tag Tag; 96 DIEAbbrev(dwarf [all...] |
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
H A D | DWARFTypeUnit.h | 28 DWARFTypeUnit(SymbolFileDWARF &dwarf, lldb::user_id_t uid, argument 32 : DWARFUnit(dwarf, uid, header, abbrevs, section, is_dwo) {}
|
H A D | DWARFCompileUnit.h | 24 DWARFCompileUnit(SymbolFileDWARF &dwarf, lldb::user_id_t uid, argument 28 : DWARFUnit(dwarf, uid, header, abbrevs, section, is_dwo) {}
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | TargetLoweringObjectFileImpl.cpp | 63 using namespace dwarf; 113 ? dwarf::DW_EH_PE_indirect | 114 dwarf::DW_EH_PE_pcrel | 115 dwarf::DW_EH_PE_sdata4 116 : dwarf::DW_EH_PE_absptr; 118 ? dwarf::DW_EH_PE_pcrel | dwarf::DW_EH_PE_sdata4 119 : dwarf::DW_EH_PE_absptr; 121 ? dwarf::DW_EH_PE_indirect | dwarf [all...] |