Searched refs:DWARFFormValue (Results 1 - 25 of 38) sorted by relevance

12

/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFFormValue.cpp1 //===- DWARFFormValue.cpp -------------------------------------------------===//
9 #include "llvm/DebugInfo/DWARF/DWARFFormValue.h"
29 static const DWARFFormValue::FormClass DWARF5FormClasses[] = {
30 DWARFFormValue::FC_Unknown, // 0x0
31 DWARFFormValue::FC_Address, // 0x01 DW_FORM_addr
32 DWARFFormValue::FC_Unknown, // 0x02 unused
33 DWARFFormValue::FC_Block, // 0x03 DW_FORM_block2
34 DWARFFormValue::FC_Block, // 0x04 DW_FORM_block4
35 DWARFFormValue::FC_Constant, // 0x05 DW_FORM_data2
37 DWARFFormValue
[all...]
H A DDWARFAddressRange.cpp10 #include "llvm/DebugInfo/DWARF/DWARFFormValue.h"
26 DWARFFormValue::dumpAddressSection(*Obj, OS, DumpOpts, SectionIndex);
H A DDWARFAbbreviationDeclaration.cpp14 #include "llvm/DebugInfo/DWARF/DWARFFormValue.h"
150 Optional<DWARFFormValue> DWARFAbbreviationDeclaration::getAttributeValue(
167 return DWARFFormValue::createFromSValue(Spec.Form,
170 DWARFFormValue FormValue(Spec.Form);
178 DWARFFormValue::skipValue(Spec.Form, DebugInfoData, &Offset,
H A DDWARFDie.cpp19 #include "llvm/DebugInfo/DWARF/DWARFFormValue.h"
72 static void dumpLocation(raw_ostream &OS, DWARFFormValue &FormValue,
77 if (FormValue.isFormClass(DWARFFormValue::FC_Block) ||
78 FormValue.isFormClass(DWARFFormValue::FC_Exprloc)) {
87 if (FormValue.isFormClass(DWARFFormValue::FC_SectionOffset)) {
123 if (Optional<DWARFFormValue> L = C.find(DW_AT_lower_bound))
125 if (Optional<DWARFFormValue> CountV = C.find(DW_AT_count))
127 if (Optional<DWARFFormValue> UpperV = C.find(DW_AT_upper_bound))
129 if (Optional<DWARFFormValue> LV =
248 DWARFFormValue FormValu
[all...]
H A DDWARFDebugInfoEntry.cpp12 #include "llvm/DebugInfo/DWARF/DWARFFormValue.h"
60 } else if (!DWARFFormValue::skipValue(AttrSpec.Form, DebugInfoData,
H A DDWARFAcceleratorTable.cpp97 DWARFFormValue FormValue(Atom.second);
102 if ((!FormValue.isFormClass(DWARFFormValue::FC_Constant) &&
103 !FormValue.isFormClass(DWARFFormValue::FC_Flag)) ||
121 DWARFFormValue FormValue(Atom.second);
148 Optional<DWARFFormValue> Value) const {
165 SmallVectorImpl<DWARFFormValue> &AtomForms,
213 SmallVector<DWARFFormValue, 3> AtomForms;
221 AtomForms.push_back(DWARFFormValue(Atom.second));
264 Values.push_back(DWARFFormValue(Atom.second));
276 Optional<DWARFFormValue>
[all...]
H A DDWARFDebugLine.cpp15 #include "llvm/DebugInfo/DWARF/DWARFFormValue.h"
160 std::vector<DWARFFormValue> &IncludeDirectories,
166 DWARFFormValue Dir =
167 DWARFFormValue::createFromPValue(dwarf::DW_FORM_string, S.data());
177 DWARFFormValue::createFromPValue(dwarf::DW_FORM_string, Name.data());
221 std::vector<DWARFFormValue> &IncludeDirectories,
233 DWARFFormValue Value(Descriptor.Form);
262 DWARFFormValue Value(Descriptor.Form);
659 DWARFFormValue::createFromPValue(dwarf::DW_FORM_string, Name);
H A DDWARFVerifier.cpp15 #include "llvm/DebugInfo/DWARF/DWARFFormValue.h"
232 Optional<DWARFFormValue> CallAttr =
1103 DWARFFormValue::FormClass Class;
1107 {dwarf::DW_IDX_compile_unit, DWARFFormValue::FC_Constant, {"constant"}},
1108 {dwarf::DW_IDX_type_unit, DWARFFormValue::FC_Constant, {"constant"}},
1109 {dwarf::DW_IDX_die_offset, DWARFFormValue::FC_Reference, {"reference"}},
1110 {dwarf::DW_IDX_parent, DWARFFormValue::FC_Constant, {"constant"}},
1124 if (!DWARFFormValue(AttrEnc.Form).isFormClass(Iter->Class)) {
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFFormValue.h1 //===- DWARFFormValue.h -----------------------------------------*- C++ -*-===//
26 class DWARFFormValue { class in namespace:llvm
62 DWARFFormValue(dwarf::Form F, ValueType V) : Form(F), Value(V) {} function in class:llvm::DWARFFormValue
65 DWARFFormValue(dwarf::Form F = dwarf::Form(0)) : Form(F) {} function in class:llvm::DWARFFormValue
67 static DWARFFormValue createFromSValue(dwarf::Form F, int64_t V);
68 static DWARFFormValue createFromUValue(dwarf::Form F, uint64_t V);
69 static DWARFFormValue createFromPValue(dwarf::Form F, const char *V);
70 static DWARFFormValue createFromBlockValue(dwarf::Form F,
72 static DWARFFormValue createFromUnit(dwarf::Form F, const DWARFUnit *Unit,
105 /// DWARFFormValue ha
[all...]
H A DDWARFAttribute.h13 #include "llvm/DebugInfo/DWARF/DWARFFormValue.h"
32 DWARFFormValue Value;
H A DDWARFAbbreviationDeclaration.h23 class DWARFFormValue;
133 Optional<DWARFFormValue> getAttributeValue(const uint64_t DIEOffset,
H A DDWARFAcceleratorTable.h16 #include "llvm/DebugInfo/DWARF/DWARFFormValue.h"
40 SmallVector<DWARFFormValue, 3> Values;
66 ArrayRef<DWARFFormValue> getValues() const { return Values; }
102 Optional<uint64_t> extractOffset(Optional<DWARFFormValue> Value) const;
111 bool dumpName(ScopedPrinter &W, SmallVectorImpl<DWARFFormValue> &AtomForms,
137 Optional<DWARFFormValue> lookup(HeaderData::AtomType Atom) const;
313 Optional<DWARFFormValue> lookup(dwarf::Index Index) const;
H A DDWARFDie.h140 /// \returns an optional DWARFFormValue that will have the form value if the
142 Optional<DWARFFormValue> find(dwarf::Attribute Attr) const;
152 /// \returns an optional that has a valid DWARFFormValue for the first
155 Optional<DWARFFormValue> find(ArrayRef<dwarf::Attribute> Attrs) const;
162 /// \returns an optional that has a valid DWARFFormValue for the first
166 Optional<DWARFFormValue>
183 DWARFDie getAttributeValueAsReferencedDie(const DWARFFormValue &V) const;
H A DDWARFDebugLine.h17 #include "llvm/DebugInfo/DWARF/DWARFFormValue.h"
37 DWARFFormValue Name;
42 DWARFFormValue Source;
96 std::vector<DWARFFormValue> IncludeDirectories;
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFFormValue.h1 //===-- DWARFFormValue.h ----------------------------------------*- C++ -*-===//
20 class DWARFFormValue { class
41 DWARFFormValue() = default;
42 DWARFFormValue(const DWARFUnit *unit) : m_unit(unit) {} function in class:DWARFFormValue
43 DWARFFormValue(const DWARFUnit *unit, dw_form_t form) function in class:DWARFFormValue
77 static int Compare(const DWARFFormValue &a, const DWARFFormValue &b);
H A DDWARFAttribute.h13 #include "DWARFFormValue.h"
22 DWARFFormValue::ValueType value)
32 DWARFFormValue::ValueType &val) const {
47 DWARFFormValue::ValueType m_value;
67 bool ExtractFormValueAtIndex(uint32_t i, DWARFFormValue &form_value) const;
H A DDWARFAttribute.cpp31 cu, attr_die_offset, {attr, form, DWARFFormValue::ValueType()}};
36 uint32_t i, DWARFFormValue &form_value) const {
54 DWARFFormValue form_value;
H A DDWARFFormValue.cpp1 //===-- DWARFFormValue.cpp --------------------------------------*- C++ -*-===//
17 #include "DWARFFormValue.h"
24 void DWARFFormValue::Clear() {
30 bool DWARFFormValue::ExtractValue(const DWARFDataExtractor &data,
190 DWARFFormValue::GetFixedSize(dw_form_t form, const DWARFUnit *u) {
198 llvm::Optional<uint8_t> DWARFFormValue::GetFixedSize() const {
202 bool DWARFFormValue::SkipValue(const DWARFDataExtractor &debug_info_data,
204 return DWARFFormValue::SkipValue(m_form, debug_info_data, offset_ptr, m_unit);
207 bool DWARFFormValue::SkipValue(dw_form_t form,
322 return DWARFFormValue
[all...]
H A DDWARFASTParserClang.h20 #include "DWARFFormValue.h"
241 DWARFFormValue abstract_origin;
242 DWARFFormValue containing_type;
243 DWARFFormValue signature;
244 DWARFFormValue specification;
245 DWARFFormValue type;
H A DDWARFAbbreviationDeclaration.h36 DWARFFormValue &form_value) const {
H A DDWARFDebugInfoEntry.cpp28 #include "DWARFFormValue.h"
73 DWARFFormValue::GetFixedSize(form, cu);
206 const DWARFFormValue &value) {
252 DWARFFormValue form_value(cu);
423 DWARFFormValue form_value(cu);
458 DWARFFormValue &form_value) {
551 DWARFFormValue form_value(cu);
581 llvm::Optional<uint8_t> fixed_skip_size = DWARFFormValue::GetFixedSize(form, cu);
585 DWARFFormValue::SkipValue(form, data, &offset, cu);
601 const DWARFUnit *cu, const dw_attr_t attr, DWARFFormValue
[all...]
H A DDWARFDebugInfoEntry.h64 DWARFFormValue &formValue,
116 dw_attr_t attr, DWARFFormValue &form_value);
H A DDWARFAbbreviationDeclaration.cpp16 #include "DWARFFormValue.h"
58 DWARFFormValue::ValueType val;
H A DDWARFDebugAbbrev.cpp78 if (!DWARFFormValue::FormIsSupported(form))
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DWARFLinker/
H A DDWARFLinkerCompileUnit.cpp49 Optional<DWARFFormValue> Value;

Completed in 162 milliseconds

12