HomeSort by: relevance | last modified time | path
    Searched refs:dwarf (Results 1 - 25 of 283) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/
DWARFAttribute.h 12 #include "llvm/BinaryFormat/Dwarf.h"
13 #include "llvm/DebugInfo/DWARF/DWARFFormValue.h"
19 /// Encapsulates a DWARF attribute value and all of the data required to
30 dwarf::Attribute Attr = dwarf::Attribute(0);
35 return Offset != 0 && Attr != dwarf::Attribute(0);
42 /// Identifies DWARF attributes that may contain a reference to a
43 /// DWARF expression.
44 static bool mayHaveLocationDescription(dwarf::Attribute Attr);
DWARFAbbreviationDeclaration.h 15 #include "llvm/BinaryFormat/Dwarf.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
    [all...]
DWARFFormValue.h 15 #include "llvm/BinaryFormat/Dwarf.h"
17 #include "llvm/DebugInfo/DWARF/DWARFDataExtractor.h"
57 dwarf::Form Form; /// Form for this value.
58 dwarf::DwarfFormat Format =
59 dwarf::DWARF32; /// Remember the DWARF format at extract time.
64 DWARFFormValue(dwarf::Form F, ValueType V) : Form(F), Value(V) {}
67 DWARFFormValue(dwarf::Form F = dwarf::Form(0)) : Form(F) {}
69 static DWARFFormValue createFromSValue(dwarf::Form F, int64_t V)
159 namespace dwarf { namespace in namespace:llvm
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
AsmPrinterDwarf.cpp 1 //===-- AsmPrinterDwarf.cpp - AsmPrinter Dwarf Support --------------------===//
9 // This file implements the Dwarf emissions parts of AsmPrinter.
15 #include "llvm/BinaryFormat/Dwarf.h"
36 // Dwarf Emission Helper Routines
63 case dwarf::DW_EH_PE_absptr:
65 case dwarf::DW_EH_PE_omit:
67 case dwarf::DW_EH_PE_pcrel:
69 case dwarf::DW_EH_PE_uleb128:
71 case dwarf::DW_EH_PE_sleb128:
73 case dwarf::DW_EH_PE_udata4
    [all...]
DIE.cpp 1 //===--- lib/CodeGen/DIE.cpp - DWARF Info Entries -------------------------===//
9 // Data structures for DWARF info entries.
47 if (Form == dwarf::DW_FORM_implicit_const)
69 // Emit its Dwarf tag type.
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(),
90 << " for DWARF version " << AP->getDwarfVersion()
92 llvm_unreachable("Invalid form for specified DWARF version")
    [all...]
DwarfUnit.cpp 1 //===-- llvm/CodeGen/DwarfUnit.cpp - Dwarf Type and Compile Units ---------===//
9 // This file contains support for constructing a dwarf compile unit.
53 CU.addUInt(getActiveDIE(), dwarf::DW_FORM_data1, Op);
57 CU.addSInt(getActiveDIE(), dwarf::DW_FORM_sdata, Value);
61 CU.addUInt(getActiveDIE(), dwarf::DW_FORM_udata, Value);
65 CU.addUInt(getActiveDIE(), dwarf::DW_FORM_data1, Value);
90 DwarfUnit::DwarfUnit(dwarf::Tag UnitTag, const DICompileUnit *Node,
98 : DwarfUnit(dwarf::DW_TAG_type_unit, CU.getCUNode(), A, DW, DWU), CU(CU),
114 // The languages below have valid values in all DWARF versions.
115 case dwarf::DW_LANG_C
    [all...]
DwarfExpression.cpp 1 //===- llvm/CodeGen/DwarfExpression.cpp - Dwarf Debug Framework -----------===//
9 // This file contains support for writing dwarf debug info into asm files.
17 #include "llvm/BinaryFormat/Dwarf.h"
30 emitOp(dwarf::DW_OP_lit0 + Value);
32 // Only do this for 64-bit values as the DWARF expression stack uses
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)
    [all...]
DebugHandlerBase.cpp 10 // LLVM currently supports DWARF and CodeView.
54 Op->getOp() == dwarf::DW_OP_LLVM_arg)
61 case dwarf::DW_OP_constu: {
66 case dwarf::DW_OP_minus:
69 case dwarf::DW_OP_plus:
77 case dwarf::DW_OP_plus_uconst:
80 case dwarf::DW_OP_LLVM_fragment:
83 case dwarf::DW_OP_deref:
156 if (Tag != dwarf::DW_TAG_member && Tag != dwarf::DW_TAG_typedef &
    [all...]
DIEHash.cpp 1 //===-- llvm/CodeGen/DIEHash.cpp - Dwarf Hashing Framework ----------------===//
19 #include "llvm/BinaryFormat/Dwarf.h"
91 assert(Cur->getTag() == dwarf::DW_TAG_compile_unit ||
92 Cur->getTag() == dwarf::DW_TAG_type_unit);
104 // ... Followed by the DWARF tag of the construct...
108 StringRef Name = getDIEStringAttr(Die, dwarf::DW_AT_name);
120 << dwarf::AttributeString(V.getAttribute())
124 case dwarf::NAME: \
134 void DIEHash::hashShallowTypeReference(dwarf::Attribute Attribute,
139 // the DWARF attribute code (DW_AT_type or DW_AT_friend)
    [all...]
DIEHash.h 1 //===-- llvm/CodeGen/DIEHash.h - Dwarf Hashing Framework -------*- C++ -*--===//
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,
DwarfCompileUnit.cpp 1 //===- llvm/CodeGen/DwarfCompileUnit.cpp - Dwarf Compile Units ------------===//
9 // This file contains support for constructing a dwarf compile unit.
19 #include "llvm/BinaryFormat/Dwarf.h"
45 static dwarf::Tag GetCompileUnitType(UnitKind Kind, DwarfDebug *DW) {
47 // According to DWARF Debugging Information Format Version 5,
49 // "When generating a split DWARF object file (see Section 7.3.2
53 return dwarf::DW_TAG_skeleton_unit;
55 return dwarf::DW_TAG_compile_unit;
66 /// addLabelAddress - Add a dwarf label attribute data and value using
68 void DwarfCompileUnit::addLabelAddress(DIE &Die, dwarf::Attribute Attribute
    [all...]
DwarfUnit.h 1 //===-- llvm/CodeGen/DwarfUnit.h - Dwarf Compile Unit ---*- C++ -*--===//
9 // This file contains support for writing dwarf compile unit.
35 /// This dwarf writer support class manages information associated with a
45 /// Target of Dwarf emission.
51 // Holders for some common dwarf information.
73 DwarfUnit(dwarf::Tag, const DICompileUnit *Node, AsmPrinter *A, DwarfDebug *DW,
81 void addAttribute(DIEValueList &Die, dwarf::Attribute Attribute,
82 dwarf::Form Form, T &&Value) {
83 // For strict DWARF mode, only generate attributes available to current
84 // DWARF version
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/DWARF/
DWARFDataExtractor.cpp 9 #include "llvm/DebugInfo/DWARF/DWARFDataExtractor.h"
10 #include "llvm/DebugInfo/DWARF/DWARFContext.h"
14 std::pair<uint64_t, dwarf::DwarfFormat>
18 return {0, dwarf::DWARF32};
22 dwarf::DwarfFormat Format = dwarf::DWARF32;
23 if (Length == dwarf::DW_LENGTH_DWARF64) {
25 Format = dwarf::DWARF64;
26 } else if (Length >= dwarf::DW_LENGTH_lo_reserved) {
32 return {0, dwarf::DWARF32}
    [all...]
DWARFCompileUnit.cpp 9 #include "llvm/DebugInfo/DWARF/DWARFCompileUnit.h"
10 #include "llvm/DebugInfo/DWARF/DWARFDebugAbbrev.h"
11 #include "llvm/DebugInfo/DWARF/DWARFDie.h"
18 int OffsetDumpWidth = 2 * dwarf::getDwarfOffsetByteSize(getFormat());
21 << ", format = " << dwarf::FormatString(getFormat())
24 OS << ", unit_type = " << dwarf::UnitTypeString(getUnitType());
29 if (getVersion() >= 5 && (getUnitType() == dwarf::DW_UT_skeleton ||
30 getUnitType() == dwarf::DW_UT_split_compile))
DWARFDebugLoc.cpp 9 #include "llvm/DebugInfo/DWARF/DWARFDebugLoc.h"
11 #include "llvm/BinaryFormat/Dwarf.h"
12 #include "llvm/DebugInfo/DWARF/DWARFContext.h"
13 #include "llvm/DebugInfo/DWARF/DWARFExpression.h"
14 #include "llvm/DebugInfo/DWARF/DWARFRelocMap.h"
15 #include "llvm/DebugInfo/DWARF/DWARFUnit.h"
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:
    [all...]
DWARFDebugRnglists.cpp 9 #include "llvm/DebugInfo/DWARF/DWARFDebugRnglists.h"
10 #include "llvm/BinaryFormat/Dwarf.h"
11 #include "llvm/DebugInfo/DWARF/DWARFFormValue.h"
12 #include "llvm/DebugInfo/DWARF/DWARFUnit.h"
31 case dwarf::DW_RLE_end_of_list:
35 case dwarf::DW_RLE_base_addressx: {
39 case dwarf::DW_RLE_startx_endx:
43 case dwarf::DW_RLE_startx_length: {
48 case dwarf::DW_RLE_offset_pair: {
53 case dwarf::DW_RLE_base_address:
    [all...]
DWARFTypeUnit.cpp 9 #include "llvm/DebugInfo/DWARF/DWARFTypeUnit.h"
11 #include "llvm/DebugInfo/DWARF/DWARFDebugAbbrev.h"
12 #include "llvm/DebugInfo/DWARF/DWARFDie.h"
13 #include "llvm/DebugInfo/DWARF/DWARFUnit.h"
23 int OffsetDumpWidth = 2 * dwarf::getDwarfOffsetByteSize(getFormat());
35 << ", format = " << dwarf::FormatString(getFormat())
38 OS << ", unit_type = " << dwarf::UnitTypeString(getUnitType());
  /src/external/apache2/llvm/dist/llvm/lib/DWARFLinker/
DWARFLinkerDeclContext.cpp 10 #include "llvm/DebugInfo/DWARF/DWARFContext.h"
11 #include "llvm/DebugInfo/DWARF/DWARFDie.h"
12 #include "llvm/DebugInfo/DWARF/DWARFUnit.h"
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)
    [all...]
DWARFLinkerCompileUnit.cpp 17 if (U.getOrigUnit().getDIEAtIndex(Idx).getTag() == dwarf::DW_TAG_subprogram)
27 Language = dwarf::toUnsigned(CU.find(dwarf::DW_AT_language), 0);
35 SysRoot = dwarf::toStringRef(CU.find(dwarf::DW_AT_LLVM_sysroot)).str();
53 if (DIE.getTag() != dwarf::DW_TAG_variable &&
54 DIE.getTag() != dwarf::DW_TAG_constant)
58 if (!(Value = DIE.find(dwarf::DW_AT_location))) {
59 if ((Value = DIE.find(dwarf::DW_AT_const_value)) &&
66 (*Block)[0] == dwarf::DW_OP_addr
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/BinaryFormat/
Dwarf.cpp 1 //===-- llvm/BinaryFormat/Dwarf.cpp - Dwarf Framework ------------*- C++-*-===//
9 // This file contains support for generic dwarf information.
13 #include "llvm/BinaryFormat/Dwarf.h"
19 using namespace dwarf;
21 StringRef llvm::dwarf::TagString(unsigned Tag) {
28 #include "llvm/BinaryFormat/Dwarf.def"
32 unsigned llvm::dwarf::getTag(StringRef TagString) {
36 #include "llvm/BinaryFormat/Dwarf.def"
40 unsigned llvm::dwarf::TagVersion(dwarf::Tag Tag)
    [all...]
  /src/external/apache2/llvm/dist/llvm/tools/obj2yaml/
dwarf2yaml.cpp 9 #include "llvm/BinaryFormat/Dwarf.h"
10 #include "llvm/DebugInfo/DWARF/DWARFContext.h"
11 #include "llvm/DebugInfo/DWARF/DWARFDebugAddr.h"
12 #include "llvm/DebugInfo/DWARF/DWARFDebugArangeSet.h"
13 #include "llvm/DebugInfo/DWARF/DWARFDebugPubTable.h"
14 #include "llvm/DebugInfo/DWARF/DWARFDebugRangeList.h"
15 #include "llvm/DebugInfo/DWARF/DWARFFormValue.h"
16 #include "llvm/DebugInfo/DWARF/DWARFSection.h"
34 Abbrv.Children = AbbrvDecl.hasChildren() ? dwarf::DW_CHILDREN_yes
35 : dwarf::DW_CHILDREN_no
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/ObjectYAML/
DWARFYAML.h 1 //===- DWARFYAML.h - DWARF YAMLIO implementation ----------------*- C++ -*-===//
11 /// of DWARF Debug Info.
20 #include "llvm/BinaryFormat/Dwarf.h"
31 llvm::dwarf::Attribute Attribute;
32 llvm::dwarf::Form Form;
38 llvm::dwarf::Tag Tag;
39 llvm::dwarf::Constants Children;
54 dwarf::DwarfFormat Format;
84 dwarf::DwarfFormat Format;
103 /// Class that contains helpful context information when mapping YAML into DWARF
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
DIE.h 1 //===- lib/CodeGen/DIE.h - DWARF Info Entries -------------------*- C++ -*-===//
9 // Data structures for DWARF info entries.
23 #include "llvm/BinaryFormat/Dwarf.h"
48 /// Dwarf abbreviation data, describes one attribute of a Dwarf abbreviation.
50 /// Dwarf attribute code.
51 dwarf::Attribute Attribute;
53 /// Dwarf form code.
54 dwarf::Form Form;
56 /// Dwarf attribute value for DW_FORM_implicit_cons
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/MC/
MCDwarf.cpp 19 #include "llvm/BinaryFormat/Dwarf.h"
52 if (DwarfFormat == dwarf::DWARF64) {
54 S.emitInt32(dwarf::DW_LENGTH_DWARF64);
58 dwarf::getDwarfOffsetByteSize(DwarfFormat));
72 StringTableBuilder LineStrings{StringTableBuilder::DWARF};
162 // This emits the Dwarf line table for the specified section from the entries
176 // Loop through each MCDwarfLineEntry and encode the dwarf line number table.
182 MCOS->emitInt8(dwarf::DW_LNS_set_file);
187 MCOS->emitInt8(dwarf::DW_LNS_set_column);
194 MCOS->emitInt8(dwarf::DW_LNS_extended_op)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/ObjectYAML/
DWARFEmitter.cpp 1 //===- DWARFEmitter - Convert YAML to DWARF binary data -------------------===//
10 /// The DWARF component of yaml2obj. Provided as library code for tests.
19 #include "llvm/BinaryFormat/Dwarf.h"
70 static void writeInitialLength(const dwarf::DwarfFormat Format,
73 bool IsDWARF64 = Format == dwarf::DWARF64;
75 cantFail(writeVariableSizedInteger(dwarf::DW_LENGTH_DWARF64, 4, OS,
81 static void writeDWARFOffset(uint64_t Offset, dwarf::DwarfFormat Format,
83 cantFail(writeVariableSizedInteger(Offset, Format == dwarf::DWARF64 ? 8 : 4,
115 if (Attr.Form == dwarf::DW_FORM_implicit_const)
152 Range.Format == dwarf::DWARF64 ? 8 : 4; // sizeof(debug_info_offset
    [all...]

Completed in 40 milliseconds

1 2 3 4 5 6 7 8 91011>>