|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
include/llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h 23 class DWARFFormValue;
References
include/llvm/ADT/ArrayRef.h 43 using iterator = const T *;
44 using const_iterator = const T *;
50 const T *Data = nullptr;
66 /*implicit*/ ArrayRef(const T &OneElt)
70 /*implicit*/ ArrayRef(const T *data, size_t length)
74 ArrayRef(const T *begin, const T *end)
74 ArrayRef(const T *begin, const T *end)
81 /*implicit*/ ArrayRef(const SmallVectorTemplateCommon<T, U> &Vec)
87 /*implicit*/ ArrayRef(const std::vector<T, A> &Vec)
92 /*implicit*/ constexpr ArrayRef(const std::array<T, N> &Arr)
97 /*implicit*/ constexpr ArrayRef(const T (&Arr)[N]) : Data(Arr), Length(N) {}
100 /*implicit*/ ArrayRef(const std::initializer_list<T> &Vec)
145 const T *data() const { return Data; }
151 const T &front() const {
157 const T &back() const {
163 template <typename Allocator> ArrayRef<T> copy(Allocator &A) {
178 ArrayRef<T> slice(size_t N, size_t M) const {
184 ArrayRef<T> slice(size_t N) const { return slice(N, size() - N); }
187 ArrayRef<T> drop_front(size_t N = 1) const {
193 ArrayRef<T> drop_back(size_t N = 1) const {
200 template <class PredicateT> ArrayRef<T> drop_while(PredicateT Pred) const {
206 template <class PredicateT> ArrayRef<T> drop_until(PredicateT Pred) const {
211 ArrayRef<T> take_front(size_t N = 1) const {
218 ArrayRef<T> take_back(size_t N = 1) const {
226 template <class PredicateT> ArrayRef<T> take_while(PredicateT Pred) const {
232 template <class PredicateT> ArrayRef<T> take_until(PredicateT Pred) const {
239 const T &operator[](size_t Index) const {
249 typename std::enable_if<std::is_same<U, T>::value, ArrayRef<T>>::type &
257 typename std::enable_if<std::is_same<U, T>::value, ArrayRef<T>>::type &
263 std::vector<T> vec() const {
270 operator std::vector<T>() const {
include/llvm/ADT/Optional.h 144 T value;
160 explicit OptionalStorage(in_place_t, Args &&... args)
161 : value(std::forward<Args>(args)...), hasVal(true) {}
172 T &getValue() LLVM_LVALUE_FUNCTION noexcept {
176 T const &getValue() const LLVM_LVALUE_FUNCTION noexcept {
181 T &&getValue() && noexcept {
216 optional_detail::OptionalStorage<T> Storage;
219 using value_type = T;
224 Optional(const T &y) : Storage(optional_detail::in_place_t{}, y) {}
227 Optional(T &&y) : Storage(optional_detail::in_place_t{}, std::move(y)) {}
230 Optional &operator=(T &&y) {
241 static inline Optional create(const T *y) {
245 Optional &operator=(const T &y) {
253 const T *getPointer() const { return &Storage.getValue(); }
254 T *getPointer() { return &Storage.getValue(); }
255 const T &getValue() const LLVM_LVALUE_FUNCTION { return Storage.getValue(); }
256 T &getValue() LLVM_LVALUE_FUNCTION { return Storage.getValue(); }
260 const T *operator->() const { return getPointer(); }
261 T *operator->() { return getPointer(); }
262 const T &operator*() const LLVM_LVALUE_FUNCTION { return getValue(); }
263 T &operator*() LLVM_LVALUE_FUNCTION { return getValue(); }
266 constexpr T getValueOr(U &&value) const LLVM_LVALUE_FUNCTION {
271 T &&getValue() && { return std::move(Storage.getValue()); }
272 T &&operator*() && { return std::move(Storage.getValue()); }
275 T getValueOr(U &&value) && {
include/llvm/ADT/SmallVector.h 75 AlignedCharArrayUnion<T> FirstEl;
114 using value_type = T;
115 using iterator = T *;
116 using const_iterator = const T *;
121 using reference = T &;
122 using const_reference = const T &;
123 using pointer = T *;
124 using const_pointer = const T *;
259 class SmallVectorTemplateBase<T, true> : public SmallVectorTemplateCommon<T> {
264 static void destroy_range(T *, T *) {}
264 static void destroy_range(T *, T *) {}
286 T1 *I, T1 *E, T2 *Dest,
286 T1 *I, T1 *E, T2 *Dest,
286 T1 *I, T1 *E, T2 *Dest,
287 typename std::enable_if<std::is_same<typename std::remove_const<T1>::type,
288 T2>::value>::type * = nullptr) {
294 memcpy(reinterpret_cast<void *>(Dest), I, (E - I) * sizeof(T));
299 void grow(size_t MinSize = 0) { this->grow_pod(MinSize, sizeof(T)); }
302 void push_back(const T &Elt) {
305 memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
315 class SmallVectorImpl : public SmallVectorTemplateBase<T> {
316 using SuperClass = SmallVectorTemplateBase<T>;
357 void resize(size_type N, const T &NV) {
374 LLVM_NODISCARD T pop_back_val() {
397 void append(size_type NumInputs, const T &Elt) {
405 void append(std::initializer_list<T> IL) {
412 void assign(size_type NumElts, const T &Elt) {
429 void assign(std::initializer_list<T> IL) {
467 iterator insert(iterator I, T &&Elt) {
497 iterator insert(iterator I, const T &Elt) {
526 iterator insert(iterator I, size_type NumToInsert, const T &Elt) {
637 void insert(iterator I, std::initializer_list<T> IL) {
644 ::new ((void *)this->end()) T(std::forward<ArgTypes>(Args)...);
820 AlignedCharArrayUnion<T> InlineElts[N];
837 class SmallVector : public SmallVectorImpl<T>, SmallVectorStorage<T, N> {
837 class SmallVector : public SmallVectorImpl<T>, SmallVectorStorage<T, N> {
846 explicit SmallVector(size_t Size, const T &Value = T())
865 SmallVector(std::initializer_list<T> IL) : SmallVectorImpl<T>(N) {
884 SmallVector(SmallVectorImpl<T> &&RHS) : SmallVectorImpl<T>(N) {
include/llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h 133 Optional<DWARFFormValue> getAttributeValue(const uint64_t DIEOffset,
include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.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;
include/llvm/DebugInfo/DWARF/DWARFAttribute.h 32 DWARFFormValue Value;
include/llvm/DebugInfo/DWARF/DWARFDebugLine.h 37 DWARFFormValue Name;
42 DWARFFormValue Source;
96 std::vector<DWARFFormValue> IncludeDirectories;
include/llvm/DebugInfo/DWARF/DWARFDie.h 141 Optional<DWARFFormValue> find(dwarf::Attribute Attr) const;
154 Optional<DWARFFormValue> find(ArrayRef<dwarf::Attribute> Attrs) const;
165 Optional<DWARFFormValue>
182 DWARFDie getAttributeValueAsReferencedDie(const DWARFFormValue &V) const;
include/llvm/DebugInfo/DWARF/DWARFFormValue.h 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,
133 return DWARFFormValue::skipValue(Form, DebugInfoData, OffsetPtr, Params);
161 inline Optional<const char *> toString(const Optional<DWARFFormValue> &V) {
172 inline StringRef toStringRef(const Optional<DWARFFormValue> &V,
186 inline const char *toString(const Optional<DWARFFormValue> &V,
196 inline Optional<uint64_t> toUnsigned(const Optional<DWARFFormValue> &V) {
208 inline uint64_t toUnsigned(const Optional<DWARFFormValue> &V,
218 inline Optional<uint64_t> toReference(const Optional<DWARFFormValue> &V) {
230 inline uint64_t toReference(const Optional<DWARFFormValue> &V,
240 inline Optional<int64_t> toSigned(const Optional<DWARFFormValue> &V) {
252 inline int64_t toSigned(const Optional<DWARFFormValue> &V, int64_t Default) {
261 inline Optional<uint64_t> toAddress(const Optional<DWARFFormValue> &V) {
268 toSectionedAddress(const Optional<DWARFFormValue> &V) {
280 inline uint64_t toAddress(const Optional<DWARFFormValue> &V, uint64_t Default) {
289 inline Optional<uint64_t> toSectionOffset(const Optional<DWARFFormValue> &V) {
301 inline uint64_t toSectionOffset(const Optional<DWARFFormValue> &V,
311 inline Optional<ArrayRef<uint8_t>> toBlock(const Optional<DWARFFormValue> &V) {
include/llvm/Support/AlignOf.h 30 T t;
39 template <typename T> union SizerImpl<T> { char arr[sizeof(T)]; };
50 llvm::detail::SizerImpl<T, Ts...>)];
include/llvm/Support/type_traits.h 91 T t;
122 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<const F &>(), std::true_type{});
122 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<const F &>(), std::true_type{});
122 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<const F &>(), std::true_type{});
130 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<F &&>(), std::true_type{});
130 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<F &&>(), std::true_type{});
130 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<F &&>(), std::true_type{});
145 std::is_copy_constructible<detail::trivial_helper<T>>::value;
147 !std::is_copy_constructible<T>::value;
151 std::is_move_constructible<detail::trivial_helper<T>>::value;
153 !std::is_move_constructible<T>::value;
157 is_copy_assignable<detail::trivial_helper<T>>::value;
159 !is_copy_assignable<T>::value;
163 is_move_assignable<detail::trivial_helper<T>>::value;
165 !is_move_assignable<T>::value;
169 std::is_destructible<detail::trivial_helper<T>>::value;
lib/DebugInfo/DWARF/DWARFAbbreviationDeclaration.cpp 150 Optional<DWARFFormValue> DWARFAbbreviationDeclaration::getAttributeValue(
167 return DWARFFormValue::createFromSValue(Spec.Form,
170 DWARFFormValue FormValue(Spec.Form);
178 DWARFFormValue::skipValue(Spec.Form, DebugInfoData, &Offset,
lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp 97 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,
185 for (auto &Atom : AtomForms) {
213 SmallVector<DWARFFormValue, 3> AtomForms;
272 for (auto &Atom : Values)
276 Optional<DWARFFormValue>
296 Optional<DWARFFormValue> Tag = lookup(dwarf::DW_ATOM_die_tag);
531 Optional<DWARFFormValue>
542 if (Optional<DWARFFormValue> Off = lookup(dwarf::DW_IDX_die_offset))
548 if (Optional<DWARFFormValue> Off = lookup(dwarf::DW_IDX_compile_unit))
617 for (auto &Value : E.Values) {
lib/DebugInfo/DWARF/DWARFDebugInfoEntry.cpp 60 } else if (!DWARFFormValue::skipValue(AttrSpec.Form, DebugInfoData,
lib/DebugInfo/DWARF/DWARFDebugLine.cpp 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());
231 std::vector<DWARFFormValue> &IncludeDirectories,
251 DWARFFormValue Value(Descriptor.Form);
288 DWARFFormValue Value(Descriptor.Form);
657 DWARFFormValue::createFromPValue(dwarf::DW_FORM_string, Name);
lib/DebugInfo/DWARF/DWARFDie.cpp 74 DWARFFormValue::dumpAddressSection(Obj, OS, DumpOpts, R.SectionIndex);
78 static void dumpLocation(raw_ostream &OS, DWARFFormValue &FormValue,
84 if (FormValue.isFormClass(DWARFFormValue::FC_Block) ||
85 FormValue.isFormClass(DWARFFormValue::FC_Exprloc)) {
111 if (FormValue.isFormClass(DWARFFormValue::FC_SectionOffset)) {
155 if (Optional<DWARFFormValue> L = C.find(DW_AT_lower_bound))
157 if (Optional<DWARFFormValue> CountV = C.find(DW_AT_count))
159 if (Optional<DWARFFormValue> UpperV = C.find(DW_AT_upper_bound))
161 if (Optional<DWARFFormValue> LV =
280 DWARFFormValue FormValue = DWARFFormValue::createFromUnit(Form, U, OffsetPtr);
280 DWARFFormValue FormValue = DWARFFormValue::createFromUnit(Form, U, OffsetPtr);
343 DWARFFormValue FV = DWARFFormValue::createFromUValue(
343 DWARFFormValue FV = DWARFFormValue::createFromUValue(
365 Optional<DWARFFormValue> DWARFDie::find(dwarf::Attribute Attr) const {
374 Optional<DWARFFormValue>
388 Optional<DWARFFormValue>
424 if (Optional<DWARFFormValue> F = find(Attr))
430 DWARFDie::getAttributeValueAsReferencedDie(const DWARFFormValue &V) const {
481 Optional<DWARFFormValue> Value = find(DW_AT_ranges);
690 AttrValue.Value = DWARFFormValue::createFromUnit(
lib/DebugInfo/DWARF/DWARFFormValue.cpp 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::FC_Constant, // 0x06 DW_FORM_data4
38 DWARFFormValue::FC_Constant, // 0x07 DW_FORM_data8
40 DWARFFormValue::FC_String, // 0x08 DW_FORM_string
41 DWARFFormValue::FC_Block, // 0x09 DW_FORM_block
42 DWARFFormValue::FC_Block, // 0x0a DW_FORM_block1
43 DWARFFormValue::FC_Constant, // 0x0b DW_FORM_data1
44 DWARFFormValue::FC_Flag, // 0x0c DW_FORM_flag
45 DWARFFormValue::FC_Constant, // 0x0d DW_FORM_sdata
46 DWARFFormValue::FC_String, // 0x0e DW_FORM_strp
47 DWARFFormValue::FC_Constant, // 0x0f DW_FORM_udata
48 DWARFFormValue::FC_Reference, // 0x10 DW_FORM_ref_addr
49 DWARFFormValue::FC_Reference, // 0x11 DW_FORM_ref1
50 DWARFFormValue::FC_Reference, // 0x12 DW_FORM_ref2
51 DWARFFormValue::FC_Reference, // 0x13 DW_FORM_ref4
52 DWARFFormValue::FC_Reference, // 0x14 DW_FORM_ref8
53 DWARFFormValue::FC_Reference, // 0x15 DW_FORM_ref_udata
54 DWARFFormValue::FC_Indirect, // 0x16 DW_FORM_indirect
55 DWARFFormValue::FC_SectionOffset, // 0x17 DW_FORM_sec_offset
56 DWARFFormValue::FC_Exprloc, // 0x18 DW_FORM_exprloc
57 DWARFFormValue::FC_Flag, // 0x19 DW_FORM_flag_present
58 DWARFFormValue::FC_String, // 0x1a DW_FORM_strx
59 DWARFFormValue::FC_Address, // 0x1b DW_FORM_addrx
60 DWARFFormValue::FC_Reference, // 0x1c DW_FORM_ref_sup4
61 DWARFFormValue::FC_String, // 0x1d DW_FORM_strp_sup
62 DWARFFormValue::FC_Constant, // 0x1e DW_FORM_data16
63 DWARFFormValue::FC_String, // 0x1f DW_FORM_line_strp
64 DWARFFormValue::FC_Reference, // 0x20 DW_FORM_ref_sig8
65 DWARFFormValue::FC_Constant, // 0x21 DW_FORM_implicit_const
66 DWARFFormValue::FC_SectionOffset, // 0x22 DW_FORM_loclistx
67 DWARFFormValue::FC_SectionOffset, // 0x23 DW_FORM_rnglistx
68 DWARFFormValue::FC_Reference, // 0x24 DW_FORM_ref_sup8
69 DWARFFormValue::FC_String, // 0x25 DW_FORM_strx1
70 DWARFFormValue::FC_String, // 0x26 DW_FORM_strx2
71 DWARFFormValue::FC_String, // 0x27 DW_FORM_strx3
72 DWARFFormValue::FC_String, // 0x28 DW_FORM_strx4
73 DWARFFormValue::FC_Address, // 0x29 DW_FORM_addrx1
74 DWARFFormValue::FC_Address, // 0x2a DW_FORM_addrx2
75 DWARFFormValue::FC_Address, // 0x2b DW_FORM_addrx3
76 DWARFFormValue::FC_Address, // 0x2c DW_FORM_addrx4
80 DWARFFormValue DWARFFormValue::createFromSValue(dwarf::Form F, int64_t V) {
84 DWARFFormValue DWARFFormValue::createFromUValue(dwarf::Form F, uint64_t V) {
88 DWARFFormValue DWARFFormValue::createFromPValue(dwarf::Form F, const char *V) {
92 DWARFFormValue DWARFFormValue::createFromBlockValue(dwarf::Form F,
100 DWARFFormValue DWARFFormValue::createFromUnit(dwarf::Form F, const DWARFUnit *U,
102 DWARFFormValue FormValue(F);
206 bool DWARFFormValue::isFormClass(DWARFFormValue::FormClass FC) const {
650 Optional<DWARFFormValue::UnitOffset> DWARFFormValue::getAsRelativeReference() const {
lib/DebugInfo/DWARF/DWARFUnit.cpp 772 Optional<DWARFFormValue> PC = UnitDie.find({DW_AT_low_pc, DW_AT_entry_pc});
lib/DebugInfo/DWARF/DWARFVerifier.cpp 224 Optional<DWARFFormValue> CallAttr =
1101 DWARFFormValue::FormClass Class;
1105 {dwarf::DW_IDX_compile_unit, DWARFFormValue::FC_Constant, {"constant"}},
1106 {dwarf::DW_IDX_type_unit, DWARFFormValue::FC_Constant, {"constant"}},
1107 {dwarf::DW_IDX_die_offset, DWARFFormValue::FC_Reference, {"reference"}},
1108 {dwarf::DW_IDX_parent, DWARFFormValue::FC_Constant, {"constant"}},
1281 Optional<DWARFFormValue> Location = Die.findRecursively(DW_AT_location);
tools/dsymutil/CompileUnit.cpp 50 Optional<DWARFFormValue> Value;
tools/dsymutil/DwarfLinker.cpp 123 const DWARFFormValue &RefValue,
264 if (Optional<DWARFFormValue> Val = DIE.find(dwarf::DW_AT_name))
609 DWARFFormValue::skipValue(Abbrev->getFormByIndex(i), Data, &Offset,
613 DWARFFormValue::skipValue(Abbrev->getFormByIndex(Idx), Data, &End,
798 DWARFFormValue Val(AttrSpec.Form);
799 if (!Val.isFormClass(DWARFFormValue::FC_Reference) ||
801 DWARFFormValue::skipValue(AttrSpec.Form, Data, &Offset,
1015 DIE &Die, AttributeSpec AttrSpec, const DWARFFormValue &Val,
1036 unsigned AttrSize, const DWARFFormValue &Val, const DebugMapObject &DMO,
1167 AttributeSpec AttrSpec, const DWARFFormValue &Val, unsigned AttrSize,
1195 (Val.isFormClass(DWARFFormValue::FC_Block) ||
1196 Val.isFormClass(DWARFFormValue::FC_Exprloc))) {
1224 DIE &Die, AttributeSpec AttrSpec, const DWARFFormValue &Val,
1273 CompileUnit &Unit, AttributeSpec AttrSpec, const DWARFFormValue &Val,
1341 CompileUnit &Unit, OffsetsStringPool &StringPool, const DWARFFormValue &Val,
1497 !DWARFFormValue(AttrSpec.Form).isFormClass(DWARFFormValue::FC_Block);
1592 DWARFFormValue::skipValue(AttrSpec.Form, Data, &Offset,
1604 DWARFFormValue Val(AttrSpec.Form);
2111 Optional<DWARFFormValue> Ref;
2121 if (!Ref->isFormClass(DWARFFormValue::FC_Reference))
tools/dsymutil/DwarfLinker.h 340 const DWARFFormValue &Val,
348 const DWARFFormValue &Val, const DWARFUnit &U,
358 const DWARFFormValue &Val,
372 const DWARFFormValue &Val, unsigned AttrSize,
379 const DWARFFormValue &Val,
388 const DWARFFormValue &Val, unsigned AttrSize,
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp 932 llvm::DWARFFormValue::skipValue(form, infoData, &offset, formParams);
tools/llvm-dwp/llvm-dwp.cpp 190 DWARFFormValue::skipValue(Form, InfoData, &Offset,
unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp 246 Optional<DWARFFormValue> FormValue;
1058 Optional<DWARFFormValue> Form2 = DieDG.find(Attr2);
1065 Optional<DWARFFormValue> Form3 = DieDG.find(Attr3);
1563 Optional<DWARFFormValue> FormValOpt1 = DWARFFormValue();
1580 Optional<DWARFFormValue> FormValOpt2 =
1581 DWARFFormValue::createFromUValue(DW_FORM_addr, Address);
1599 Optional<DWARFFormValue> FormValOpt3 =
1600 DWARFFormValue::createFromUValue(DW_FORM_udata, UData8);
1618 Optional<DWARFFormValue> FormValOpt4 =
1619 DWARFFormValue::createFromUValue(DW_FORM_ref_addr, RefData);
1637 Optional<DWARFFormValue> FormValOpt5 =
1638 DWARFFormValue::createFromSValue(DW_FORM_udata, SData8);
1657 Optional<DWARFFormValue> FormValOpt6 =
1658 DWARFFormValue::createFromBlockValue(DW_FORM_block1, Array);
unittests/DebugInfo/DWARF/DWARFFormValueTest.cpp 22 bool isFormClass(dwarf::Form Form, DWARFFormValue::FormClass FC) {
41 DWARFFormValue createDataXFormValue(dwarf::Form Form, RawTypeT Value) {
45 DWARFFormValue Result(Form);
52 DWARFFormValue createULEBFormValue(uint64_t Value) {
57 DWARFFormValue Result(DW_FORM_udata);
63 DWARFFormValue createSLEBFormValue(int64_t Value) {
68 DWARFFormValue Result(DW_FORM_sdata);
76 auto Sign1 = createDataXFormValue<uint8_t>(DW_FORM_data1, -123);
77 auto Sign2 = createDataXFormValue<uint16_t>(DW_FORM_data2, -12345);
78 auto Sign4 = createDataXFormValue<uint32_t>(DW_FORM_data4, -123456789);
79 auto Sign8 = createDataXFormValue<uint64_t>(DW_FORM_data8, -1);
87 auto UMax = createULEBFormValue(LLONG_MAX);
88 auto TooBig = createULEBFormValue(uint64_t(LLONG_MAX) + 1);
93 auto Data1 = createDataXFormValue<uint8_t>(DW_FORM_data1, 120);
94 auto Data2 = createDataXFormValue<uint16_t>(DW_FORM_data2, 32000);
95 auto Data4 = createDataXFormValue<uint32_t>(DW_FORM_data4, 2000000000);
96 auto Data8 = createDataXFormValue<uint64_t>(DW_FORM_data8, 0x1234567812345678LL);
97 auto LEBMin = createSLEBFormValue(LLONG_MIN);
98 auto LEBMax = createSLEBFormValue(LLONG_MAX);
99 auto LEB1 = createSLEBFormValue(-42);
100 auto LEB2 = createSLEBFormValue(42);
112 DWARFFormValue Data16(DW_FORM_data16);
unittests/DebugInfo/DWARF/DwarfGenerator.cpp 187 DWARFFormValue::createFromPValue(DW_FORM_string, "a dir"));
190 DWARFFormValue::createFromPValue(DW_FORM_string, "a file");
316 for (auto Include : Prologue.IncludeDirectories) {
340 for (auto Include : Prologue.IncludeDirectories) {
usr/include/c++/7.4.0/bits/alloc_traits.h 387 using allocator_type = allocator<_Tp>;
389 using value_type = _Tp;
392 using pointer = _Tp*;
395 using const_pointer = const _Tp*;
474 construct(allocator_type& __a, _Up* __p, _Args&&... __args)
474 construct(allocator_type& __a, _Up* __p, _Args&&... __args)
475 { __a.construct(__p, std::forward<_Args>(__args)...); }
486 destroy(allocator_type& __a, _Up* __p)
usr/include/c++/7.4.0/bits/allocator.h 108 class allocator: public __allocator_base<_Tp>
113 typedef _Tp* pointer;
114 typedef const _Tp* const_pointer;
115 typedef _Tp& reference;
116 typedef const _Tp& const_reference;
117 typedef _Tp value_type;
137 allocator(const allocator<_Tp1>&) throw() { }
158 operator!=(const allocator<_T1>&, const allocator<_T2>&)
158 operator!=(const allocator<_T1>&, const allocator<_T2>&)
164 operator!=(const allocator<_Tp>&, const allocator<_Tp>&)
164 operator!=(const allocator<_Tp>&, const allocator<_Tp>&)
usr/include/c++/7.4.0/bits/move.h 46 inline _GLIBCXX_CONSTEXPR _Tp*
47 __addressof(_Tp& __r) _GLIBCXX_NOEXCEPT
72 constexpr _Tp&&
73 forward(typename std::remove_reference<_Tp>::type& __t) noexcept
83 constexpr _Tp&&
84 forward(typename std::remove_reference<_Tp>::type&& __t) noexcept
98 move(_Tp&& __t) noexcept
104 : public __and_<__not_<is_nothrow_move_constructible<_Tp>>,
105 is_copy_constructible<_Tp>>::type { };
usr/include/c++/7.4.0/bits/stl_construct.h 74 _Construct(_T1* __p, _Args&&... __args)
74 _Construct(_T1* __p, _Args&&... __args)
75 { ::new(static_cast<void*>(__p)) _T1(std::forward<_Args>(__args)...); }
75 { ::new(static_cast<void*>(__p)) _T1(std::forward<_Args>(__args)...); }
204 allocator<_Tp>&)
usr/include/c++/7.4.0/bits/stl_iterator.h 1224 __make_move_if_noexcept_iterator(_Tp* __i)
usr/include/c++/7.4.0/bits/stl_iterator_base_types.h 181 typedef _Tp value_type;
183 typedef _Tp* pointer;
184 typedef _Tp& reference;
192 typedef _Tp value_type;
194 typedef const _Tp* pointer;
195 typedef const _Tp& reference;
usr/include/c++/7.4.0/bits/stl_uninitialized.h 288 _ForwardIterator __result, allocator<_Tp>&)
usr/include/c++/7.4.0/bits/stl_vector.h 77 rebind<_Tp>::other _Tp_alloc_type;
216 class vector : protected _Vector_base<_Tp, _Alloc>
227 typedef _Vector_base<_Tp, _Alloc> _Base;
232 typedef _Tp value_type;
919 _Tp*
923 const _Tp*
962 emplace_back(_Args&&... __args);
1483 _M_realloc_insert(iterator __position, _Args&&... __args);
usr/include/c++/7.4.0/bits/vector.tcc 101 std::forward<_Args>(__args)...);
105 _M_realloc_insert(end(), std::forward<_Args>(__args)...);
418 std::forward<_Args>(__args)...);
usr/include/c++/7.4.0/ext/alloc_traits.h 117 { typedef typename _Base_type::template rebind_alloc<_Tp> other; };
usr/include/c++/7.4.0/ext/new_allocator.h 63 typedef _Tp* pointer;
64 typedef const _Tp* const_pointer;
65 typedef _Tp& reference;
66 typedef const _Tp& const_reference;
67 typedef _Tp value_type;
84 new_allocator(const new_allocator<_Tp1>&) _GLIBCXX_USE_NOEXCEPT { }
111 return static_cast<_Tp*>(::operator new(__n * sizeof(_Tp)));
130 { return size_t(-1) / sizeof(_Tp); }
135 construct(_Up* __p, _Args&&... __args)
135 construct(_Up* __p, _Args&&... __args)
136 { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
136 { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
140 destroy(_Up* __p) { __p->~_Up(); }
160 operator!=(const new_allocator<_Tp>&, const new_allocator<_Tp>&)
160 operator!=(const new_allocator<_Tp>&, const new_allocator<_Tp>&)
usr/include/c++/7.4.0/initializer_list 50 typedef _E value_type;
51 typedef const _E& reference;
52 typedef const _E& const_reference;
54 typedef const _E* iterator;
55 typedef const _E* const_iterator;
usr/include/c++/7.4.0/tuple 125 constexpr _Head_base(const _Head& __h)
132 constexpr _Head_base(_UHead&& __h)
159 static constexpr _Head&
162 static constexpr const _Head&
210 constexpr _Tuple_impl(const _Head& __head, const _Tail&... __tail)
216 constexpr _Tuple_impl(_UHead&& __head, _UTail&&... __tail)
242 _Tuple_impl(allocator_arg_t __tag, const _Alloc& __a)
248 const _Head& __head, const _Tail&... __tail)
350 static constexpr _Head&
353 static constexpr const _Head&
360 constexpr _Tuple_impl(const _Head& __head)
365 constexpr _Tuple_impl(_UHead&& __head)
390 const _Head& __head)
473 return __and_<is_constructible<_Elements, const _UElements&>...>::value;
479 return __and_<is_convertible<const _UElements&, _Elements>...>::value;
485 return __and_<is_constructible<_Elements, _UElements&&>...>::value;
491 return __and_<is_convertible<_UElements&&, _Elements>...>::value;
947 constexpr tuple(const _T1& __a1, const _T2& __a2)
956 explicit constexpr tuple(const _T1& __a1, const _T2& __a2)
971 constexpr tuple(_U1&& __a1, _U2&& __a2)
1066 tuple(allocator_arg_t __tag, const _Alloc& __a)
1078 const _T1& __a1, const _T2& __a2)
1090 const _T1& __a1, const _T2& __a2)
1302 constexpr _Head&
1307 constexpr const _Head&
1313 constexpr __tuple_element_t<__i, tuple<_Elements...>>&
1319 constexpr const __tuple_element_t<__i, tuple<_Elements...>>&
1325 constexpr __tuple_element_t<__i, tuple<_Elements...>>&&
usr/include/c++/7.4.0/type_traits 215 : public __is_void_helper<typename remove_cv<_Tp>::type>::type
326 : public __is_integral_helper<typename remove_cv<_Tp>::type>::type
354 : public __is_floating_point_helper<typename remove_cv<_Tp>::type>::type
381 : public __is_pointer_helper<typename remove_cv<_Tp>::type>::type
567 : public __is_null_pointer_helper<typename remove_cv<_Tp>::type>::type
581 : public __or_<is_lvalue_reference<_Tp>,
582 is_rvalue_reference<_Tp>>::type
588 : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
588 : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
601 : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
601 : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
602 is_void<_Tp>>>::type
611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
612 is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
612 is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
631 : public __is_member_pointer_helper<typename remove_cv<_Tp>::type>::type
638 : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
638 : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
777 : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
777 : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
798 typedef decltype(__test<_Tp>(0)) type;
811 remove_all_extents<_Tp>::type>::type
825 : public __is_destructible_safe<_Tp>::type
984 typedef decltype(__test<_Tp, _Arg>(0)) type;
989 : public __and_<is_destructible<_Tp>,
990 __is_direct_constructible_impl<_Tp, _Arg>>
1072 __is_direct_constructible_ref_cast<_Tp, _Arg>,
1073 __is_direct_constructible_new_safe<_Tp, _Arg>
1079 : public __is_direct_constructible_new<_Tp, _Arg>::type
1119 : public __is_direct_constructible<_Tp, _Arg>
1130 : public __is_constructible_impl<_Tp, _Args...>::type
1142 : public is_constructible<_Tp, const _Tp&>
1142 : public is_constructible<_Tp, const _Tp&>
1148 : public __is_copy_constructible_impl<_Tp>
1160 : public is_constructible<_Tp, _Tp&&>
1160 : public is_constructible<_Tp, _Tp&&>
1166 : public __is_move_constructible_impl<_Tp>
1215 : public __and_<is_constructible<_Tp, _Args...>,
1216 __is_nt_constructible_impl<_Tp, _Args...>>
1246 : public is_nothrow_constructible<_Tp, _Tp&&>
1246 : public is_nothrow_constructible<_Tp, _Tp&&>
1252 : public __is_nothrow_move_constructible_impl<_Tp>
1554 { typedef _Tp type; };
1558 { typedef _Tp type; };
1563 { typedef _Tp type; };
1574 remove_const<typename remove_volatile<_Tp>::type>::type type;
1629 { typedef _Tp type; };
1633 { typedef _Tp type; };
1659 { typedef _Tp&& type; };
1955 { typedef _Tp type; };