LLVM 22.0.0git
DWARFYAML.h
Go to the documentation of this file.
1//===- DWARFYAML.h - DWARF YAMLIO implementation ----------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8///
9/// \file
10/// This file declares classes for handling the YAML representation
11/// of DWARF Debug Info.
12///
13//===----------------------------------------------------------------------===//
14
15#ifndef LLVM_OBJECTYAML_DWARFYAML_H
16#define LLVM_OBJECTYAML_DWARFYAML_H
17
18#include "llvm/ADT/SetVector.h"
19#include "llvm/ADT/StringRef.h"
24#include <cstdint>
25#include <optional>
26#include <unordered_map>
27#include <vector>
28
29namespace llvm {
30namespace DWARFYAML {
31
35 llvm::yaml::Hex64 Value; // Some DWARF5 attributes have values
36};
37
38struct Abbrev {
39 std::optional<yaml::Hex64> Code;
42 std::vector<AttributeAbbrev> Attributes;
43};
44
46 std::optional<uint64_t> ID;
47 std::vector<Abbrev> Table;
48};
49
51 llvm::yaml::Hex64 Address;
52 yaml::Hex64 Length;
53};
54
55struct ARange {
57 std::optional<yaml::Hex64> Length;
59 yaml::Hex64 CuOffset;
60 std::optional<yaml::Hex8> AddrSize;
61 yaml::Hex8 SegSize;
62 std::vector<ARangeDescriptor> Descriptors;
63};
64
65/// Class that describes a range list entry, or a base address selection entry
66/// within a range list in the .debug_ranges section.
67struct RangeEntry {
68 llvm::yaml::Hex64 LowOffset;
69 llvm::yaml::Hex64 HighOffset;
70};
71
72/// Class that describes a single range list inside the .debug_ranges section.
73struct Ranges {
74 std::optional<llvm::yaml::Hex64> Offset;
75 std::optional<llvm::yaml::Hex8> AddrSize;
76 std::vector<RangeEntry> Entries;
77};
78
79struct PubEntry {
80 llvm::yaml::Hex32 DieOffset;
81 llvm::yaml::Hex8 Descriptor;
83};
84
85struct PubSection {
87 yaml::Hex64 Length;
91 std::vector<PubEntry> Entries;
92};
93
94struct FormValue {
95 llvm::yaml::Hex64 Value;
97 std::vector<llvm::yaml::Hex8> BlockData;
98};
99
100struct Entry {
101 llvm::yaml::Hex32 AbbrCode;
102 std::vector<FormValue> Values;
103};
104
105/// Class that contains helpful context information when mapping YAML into DWARF
106/// data structures.
108 bool IsGNUPubSec = false;
109};
110
111struct Unit {
113 std::optional<yaml::Hex64> Length;
115 std::optional<uint8_t> AddrSize;
116 llvm::dwarf::UnitType Type; // Added in DWARF 5
117 std::optional<uint64_t> AbbrevTableID;
118 std::optional<yaml::Hex64> AbbrOffset;
119 yaml::Hex64 TypeSignatureOrDwoID; // For type or split units
120 yaml::Hex64 TypeOffset; // For type units
121
122 std::vector<Entry> Entries;
123};
124
125struct IdxForm {
128};
129
131 yaml::Hex64 Code;
133 std::vector<IdxForm> Indices;
134};
135
137 yaml::Hex32 NameStrp;
138 yaml::Hex64 Code;
139 std::vector<yaml::Hex64> Values;
140};
141
143 std::vector<DebugNameAbbreviation> Abbrevs;
144 std::vector<DebugNameEntry> Entries;
145};
146
147struct File {
152};
153
156 std::optional<uint64_t> ExtLen;
159 int64_t SData;
161 std::vector<llvm::yaml::Hex8> UnknownOpcodeData;
162 std::vector<llvm::yaml::Hex64> StandardOpcodeData;
163};
164
165struct LineTable {
167 std::optional<uint64_t> Length;
169 std::optional<uint64_t> PrologueLength;
175 std::optional<uint8_t> OpcodeBase;
176 std::optional<std::vector<uint8_t>> StandardOpcodeLengths;
177 std::vector<StringRef> IncludeDirs;
178 std::vector<File> Files;
179 std::vector<LineTableOpcode> Opcodes;
180};
181
183 yaml::Hex64 Segment;
184 yaml::Hex64 Address;
185};
186
189 std::optional<yaml::Hex64> Length;
190 yaml::Hex16 Version;
191 std::optional<yaml::Hex8> AddrSize;
192 yaml::Hex8 SegSelectorSize;
193 std::vector<SegAddrPair> SegAddrPairs;
194};
195
198 std::optional<yaml::Hex64> Length;
199 yaml::Hex16 Version;
200 yaml::Hex16 Padding;
201 std::vector<yaml::Hex64> Offsets;
202};
203
206 std::vector<yaml::Hex64> Values;
207};
208
211 std::vector<yaml::Hex64> Values;
212};
213
216 std::vector<yaml::Hex64> Values;
217 std::optional<yaml::Hex64> DescriptionsLength;
218 std::vector<DWARFOperation> Descriptions;
219};
220
221template <typename EntryType> struct ListEntries {
222 std::optional<std::vector<EntryType>> Entries;
223 std::optional<yaml::BinaryRef> Content;
224};
225
226template <typename EntryType> struct ListTable {
228 std::optional<yaml::Hex64> Length;
229 yaml::Hex16 Version;
230 std::optional<yaml::Hex8> AddrSize;
231 yaml::Hex8 SegSelectorSize;
232 std::optional<uint32_t> OffsetEntryCount;
233 std::optional<std::vector<yaml::Hex64>> Offsets;
234 std::vector<ListEntries<EntryType>> Lists;
235};
236
237struct Data {
240 std::vector<AbbrevTable> DebugAbbrev;
241 std::optional<std::vector<StringRef>> DebugStrings;
242 std::optional<std::vector<StringOffsetsTable>> DebugStrOffsets;
243 std::optional<std::vector<ARange>> DebugAranges;
244 std::optional<std::vector<Ranges>> DebugRanges;
245 std::optional<std::vector<AddrTableEntry>> DebugAddr;
246 std::optional<PubSection> PubNames;
247 std::optional<PubSection> PubTypes;
248
249 std::optional<PubSection> GNUPubNames;
250 std::optional<PubSection> GNUPubTypes;
251
252 std::vector<Unit> Units;
253
254 std::vector<LineTable> DebugLines;
255 std::optional<std::vector<ListTable<RnglistEntry>>> DebugRnglists;
256 std::optional<std::vector<ListTable<LoclistEntry>>> DebugLoclists;
257 std::optional<DebugNamesSection> DebugNames;
258
259 LLVM_ABI bool isEmpty() const;
260
262
266 };
269
270private:
271 mutable std::unordered_map<uint64_t, AbbrevTableInfo> AbbrevTableInfoMap;
272 mutable std::unordered_map<uint64_t, std::string> AbbrevTableContents;
273};
274
275} // end namespace DWARFYAML
276} // end namespace llvm
277
309
310namespace llvm {
311namespace yaml {
312
313template <> struct MappingTraits<DWARFYAML::Data> {
314 LLVM_ABI static void mapping(IO &IO, DWARFYAML::Data &DWARF);
315};
316
317template <> struct MappingTraits<DWARFYAML::AbbrevTable> {
318 LLVM_ABI static void mapping(IO &IO, DWARFYAML::AbbrevTable &AbbrevTable);
319};
320
321template <> struct MappingTraits<DWARFYAML::Abbrev> {
322 LLVM_ABI static void mapping(IO &IO, DWARFYAML::Abbrev &Abbrev);
323};
324
325template <> struct MappingTraits<DWARFYAML::AttributeAbbrev> {
326 LLVM_ABI static void mapping(IO &IO, DWARFYAML::AttributeAbbrev &AttAbbrev);
327};
328
329template <> struct MappingTraits<DWARFYAML::ARangeDescriptor> {
330 LLVM_ABI static void mapping(IO &IO, DWARFYAML::ARangeDescriptor &Descriptor);
331};
332
333template <> struct MappingTraits<DWARFYAML::ARange> {
334 LLVM_ABI static void mapping(IO &IO, DWARFYAML::ARange &ARange);
335};
336
337template <> struct MappingTraits<DWARFYAML::RangeEntry> {
338 LLVM_ABI static void mapping(IO &IO, DWARFYAML::RangeEntry &Entry);
339};
340
341template <> struct MappingTraits<DWARFYAML::Ranges> {
342 LLVM_ABI static void mapping(IO &IO, DWARFYAML::Ranges &Ranges);
343};
344
345template <> struct MappingTraits<DWARFYAML::PubEntry> {
346 LLVM_ABI static void mapping(IO &IO, DWARFYAML::PubEntry &Entry);
347};
348
349template <> struct MappingTraits<DWARFYAML::PubSection> {
350 LLVM_ABI static void mapping(IO &IO, DWARFYAML::PubSection &Section);
351};
352
353template <> struct MappingTraits<DWARFYAML::Unit> {
354 LLVM_ABI static void mapping(IO &IO, DWARFYAML::Unit &Unit);
355};
356
357template <> struct MappingTraits<DWARFYAML::DebugNamesSection> {
358 LLVM_ABI static void mapping(IO &IO, DWARFYAML::DebugNamesSection &);
359};
360template <> struct MappingTraits<DWARFYAML::DebugNameEntry> {
361 LLVM_ABI static void mapping(IO &IO, DWARFYAML::DebugNameEntry &);
362};
363template <> struct MappingTraits<DWARFYAML::DebugNameAbbreviation> {
364 LLVM_ABI static void mapping(IO &IO, DWARFYAML::DebugNameAbbreviation &);
365};
366template <> struct MappingTraits<DWARFYAML::IdxForm> {
367 LLVM_ABI static void mapping(IO &IO, DWARFYAML::IdxForm &);
368};
369
370template <> struct MappingTraits<DWARFYAML::Entry> {
371 LLVM_ABI static void mapping(IO &IO, DWARFYAML::Entry &Entry);
372};
373
374template <> struct MappingTraits<DWARFYAML::FormValue> {
375 LLVM_ABI static void mapping(IO &IO, DWARFYAML::FormValue &FormValue);
376};
377
378template <> struct MappingTraits<DWARFYAML::File> {
379 LLVM_ABI static void mapping(IO &IO, DWARFYAML::File &File);
380};
381
382template <> struct MappingTraits<DWARFYAML::LineTableOpcode> {
383 LLVM_ABI static void mapping(IO &IO,
384 DWARFYAML::LineTableOpcode &LineTableOpcode);
385};
386
387template <> struct MappingTraits<DWARFYAML::LineTable> {
388 LLVM_ABI static void mapping(IO &IO, DWARFYAML::LineTable &LineTable);
389};
390
391template <> struct MappingTraits<DWARFYAML::SegAddrPair> {
392 LLVM_ABI static void mapping(IO &IO, DWARFYAML::SegAddrPair &SegAddrPair);
393};
394
395template <> struct MappingTraits<DWARFYAML::DWARFOperation> {
396 LLVM_ABI static void mapping(IO &IO,
397 DWARFYAML::DWARFOperation &DWARFOperation);
398};
399
400template <typename EntryType>
401struct MappingTraits<DWARFYAML::ListTable<EntryType>> {
402 static void mapping(IO &IO, DWARFYAML::ListTable<EntryType> &ListTable);
403};
404
405template <typename EntryType>
406struct MappingTraits<DWARFYAML::ListEntries<EntryType>> {
407 static void mapping(IO &IO, DWARFYAML::ListEntries<EntryType> &ListEntries);
408 static std::string validate(IO &IO,
409 DWARFYAML::ListEntries<EntryType> &ListEntries);
410};
411
412template <> struct MappingTraits<DWARFYAML::RnglistEntry> {
413 LLVM_ABI static void mapping(IO &IO, DWARFYAML::RnglistEntry &RnglistEntry);
414};
415
416template <> struct MappingTraits<DWARFYAML::LoclistEntry> {
417 LLVM_ABI static void mapping(IO &IO, DWARFYAML::LoclistEntry &LoclistEntry);
418};
419
420template <> struct MappingTraits<DWARFYAML::AddrTableEntry> {
421 LLVM_ABI static void mapping(IO &IO, DWARFYAML::AddrTableEntry &AddrTable);
422};
423
424template <> struct MappingTraits<DWARFYAML::StringOffsetsTable> {
425 LLVM_ABI static void mapping(IO &IO,
426 DWARFYAML::StringOffsetsTable &StrOffsetsTable);
427};
428
429template <> struct ScalarEnumerationTraits<dwarf::DwarfFormat> {
430 static void enumeration(IO &IO, dwarf::DwarfFormat &Format) {
431 IO.enumCase(Format, "DWARF32", dwarf::DWARF32);
432 IO.enumCase(Format, "DWARF64", dwarf::DWARF64);
433 }
434};
435
436#define HANDLE_DW_TAG(unused, name, unused2, unused3, unused4) \
437 io.enumCase(value, "DW_TAG_" #name, dwarf::DW_TAG_##name);
438
439template <> struct ScalarEnumerationTraits<dwarf::Tag> {
440 static void enumeration(IO &io, dwarf::Tag &value) {
441#include "llvm/BinaryFormat/Dwarf.def"
442 io.enumFallback<Hex16>(value);
443 }
444};
445
446#define HANDLE_DW_LNS(unused, name) \
447 io.enumCase(value, "DW_LNS_" #name, dwarf::DW_LNS_##name);
448
449template <> struct ScalarEnumerationTraits<dwarf::LineNumberOps> {
450 static void enumeration(IO &io, dwarf::LineNumberOps &value) {
451#include "llvm/BinaryFormat/Dwarf.def"
452 io.enumFallback<Hex8>(value);
453 }
454};
455
456#define HANDLE_DW_LNE(unused, name) \
457 io.enumCase(value, "DW_LNE_" #name, dwarf::DW_LNE_##name);
458
459template <> struct ScalarEnumerationTraits<dwarf::LineNumberExtendedOps> {
460 static void enumeration(IO &io, dwarf::LineNumberExtendedOps &value) {
461#include "llvm/BinaryFormat/Dwarf.def"
462 io.enumFallback<Hex16>(value);
463 }
464};
465
466#define HANDLE_DW_AT(unused, name, unused2, unused3) \
467 io.enumCase(value, "DW_AT_" #name, dwarf::DW_AT_##name);
468
469template <> struct ScalarEnumerationTraits<dwarf::Attribute> {
470 static void enumeration(IO &io, dwarf::Attribute &value) {
471#include "llvm/BinaryFormat/Dwarf.def"
472 io.enumFallback<Hex16>(value);
473 }
474};
475
476#define HANDLE_DW_FORM(unused, name, unused2, unused3) \
477 io.enumCase(value, "DW_FORM_" #name, dwarf::DW_FORM_##name);
478
479template <> struct ScalarEnumerationTraits<dwarf::Form> {
480 static void enumeration(IO &io, dwarf::Form &value) {
481#include "llvm/BinaryFormat/Dwarf.def"
482 io.enumFallback<Hex16>(value);
483 }
484};
485
486#define HANDLE_DW_IDX(unused, name) \
487 io.enumCase(value, "DW_IDX_" #name, dwarf::DW_IDX_##name);
488
489template <> struct ScalarEnumerationTraits<dwarf::Index> {
490 static void enumeration(IO &io, dwarf::Index &value) {
491#include "llvm/BinaryFormat/Dwarf.def"
492 io.enumFallback<Hex16>(value);
493 }
494};
495
496#define HANDLE_DW_UT(unused, name) \
497 io.enumCase(value, "DW_UT_" #name, dwarf::DW_UT_##name);
498
499template <> struct ScalarEnumerationTraits<dwarf::UnitType> {
500 static void enumeration(IO &io, dwarf::UnitType &value) {
501#include "llvm/BinaryFormat/Dwarf.def"
502 io.enumFallback<Hex8>(value);
503 }
504};
505
506template <> struct ScalarEnumerationTraits<dwarf::Constants> {
507 static void enumeration(IO &io, dwarf::Constants &value) {
508 io.enumCase(value, "DW_CHILDREN_no", dwarf::DW_CHILDREN_no);
509 io.enumCase(value, "DW_CHILDREN_yes", dwarf::DW_CHILDREN_yes);
510 io.enumFallback<Hex16>(value);
511 }
512};
513
514#define HANDLE_DW_RLE(unused, name) \
515 io.enumCase(value, "DW_RLE_" #name, dwarf::DW_RLE_##name);
516
517template <> struct ScalarEnumerationTraits<dwarf::RnglistEntries> {
518 static void enumeration(IO &io, dwarf::RnglistEntries &value) {
519#include "llvm/BinaryFormat/Dwarf.def"
520 }
521};
522
523#define HANDLE_DW_LLE(unused, name) \
524 io.enumCase(value, "DW_LLE_" #name, dwarf::DW_LLE_##name);
525
526template <> struct ScalarEnumerationTraits<dwarf::LoclistEntries> {
527 static void enumeration(IO &io, dwarf::LoclistEntries &value) {
528#include "llvm/BinaryFormat/Dwarf.def"
529 }
530};
531
532#define HANDLE_DW_OP(id, name, operands, arity, version, vendor) \
533 io.enumCase(value, "DW_OP_" #name, dwarf::DW_OP_##name);
534
535template <> struct ScalarEnumerationTraits<dwarf::LocationAtom> {
536 static void enumeration(IO &io, dwarf::LocationAtom &value) {
537#include "llvm/BinaryFormat/Dwarf.def"
538 io.enumFallback<yaml::Hex8>(value);
539 }
540};
541
542} // end namespace yaml
543} // end namespace llvm
544
545#endif // LLVM_OBJECTYAML_DWARFYAML_H
#define LLVM_ABI
Definition: Compiler.h:213
Given that RA is a live value
This file contains constants used for implementing Dwarf debug support.
uint32_t Index
This file implements a set that has insertion order iteration characteristics.
#define LLVM_YAML_IS_SEQUENCE_VECTOR(type)
Tagged union holding either a T or a Error.
Definition: Error.h:485
A vector that has set insertion semantics.
Definition: SetVector.h:59
StringRef - Represent a constant reference to a string, i.e.
Definition: StringRef.h:55
@ Entry
Definition: COFF.h:862
void validate(const Triple &TT, const FeatureBitset &FeatureBits)
Attribute
Attributes.
Definition: Dwarf.h:124
LineNumberOps
Line Number Standard Opcode Encodings.
Definition: Dwarf.h:781
LoclistEntries
DWARF v5 loc list entry encoding values.
Definition: Dwarf.h:833
UnitType
Constants for unit types in DWARF v5.
Definition: Dwarf.h:882
LocationAtom
Definition: Dwarf.h:137
DwarfFormat
Constants that define the DWARF format as 32 or 64 bit.
Definition: Dwarf.h:92
RnglistEntries
DWARF v5 range list entry encoding values.
Definition: Dwarf.h:827
LineNumberExtendedOps
Line Number Extended Opcode Encodings.
Definition: Dwarf.h:787
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
std::optional< yaml::Hex64 > Length
Definition: DWARFYAML.h:57
yaml::Hex64 CuOffset
Definition: DWARFYAML.h:59
dwarf::DwarfFormat Format
Definition: DWARFYAML.h:56
std::vector< ARangeDescriptor > Descriptors
Definition: DWARFYAML.h:62
std::optional< yaml::Hex8 > AddrSize
Definition: DWARFYAML.h:60
std::vector< Abbrev > Table
Definition: DWARFYAML.h:47
std::optional< uint64_t > ID
Definition: DWARFYAML.h:46
llvm::dwarf::Tag Tag
Definition: DWARFYAML.h:40
std::vector< AttributeAbbrev > Attributes
Definition: DWARFYAML.h:42
std::optional< yaml::Hex64 > Code
Definition: DWARFYAML.h:39
llvm::dwarf::Constants Children
Definition: DWARFYAML.h:41
std::optional< yaml::Hex64 > Length
Definition: DWARFYAML.h:189
std::optional< yaml::Hex8 > AddrSize
Definition: DWARFYAML.h:191
dwarf::DwarfFormat Format
Definition: DWARFYAML.h:188
std::vector< SegAddrPair > SegAddrPairs
Definition: DWARFYAML.h:193
llvm::dwarf::Attribute Attribute
Definition: DWARFYAML.h:33
Class that contains helpful context information when mapping YAML into DWARF data structures.
Definition: DWARFYAML.h:107
std::vector< yaml::Hex64 > Values
Definition: DWARFYAML.h:206
dwarf::LocationAtom Operator
Definition: DWARFYAML.h:205
std::vector< Unit > Units
Definition: DWARFYAML.h:252
std::vector< LineTable > DebugLines
Definition: DWARFYAML.h:254
std::optional< std::vector< AddrTableEntry > > DebugAddr
Definition: DWARFYAML.h:245
std::optional< std::vector< Ranges > > DebugRanges
Definition: DWARFYAML.h:244
std::optional< std::vector< ListTable< LoclistEntry > > > DebugLoclists
Definition: DWARFYAML.h:256
std::vector< AbbrevTable > DebugAbbrev
Definition: DWARFYAML.h:240
LLVM_ABI Expected< AbbrevTableInfo > getAbbrevTableInfoByID(uint64_t ID) const
Definition: DWARFYAML.cpp:61
std::optional< PubSection > GNUPubNames
Definition: DWARFYAML.h:249
std::optional< std::vector< ARange > > DebugAranges
Definition: DWARFYAML.h:243
LLVM_ABI StringRef getAbbrevTableContentByIndex(uint64_t Index) const
std::optional< PubSection > GNUPubTypes
Definition: DWARFYAML.h:250
LLVM_ABI SetVector< StringRef > getNonEmptySectionNames() const
Definition: DWARFYAML.cpp:25
std::optional< std::vector< StringOffsetsTable > > DebugStrOffsets
Definition: DWARFYAML.h:242
std::optional< std::vector< StringRef > > DebugStrings
Definition: DWARFYAML.h:241
std::optional< std::vector< ListTable< RnglistEntry > > > DebugRnglists
Definition: DWARFYAML.h:255
std::optional< PubSection > PubNames
Definition: DWARFYAML.h:246
std::optional< DebugNamesSection > DebugNames
Definition: DWARFYAML.h:257
std::optional< PubSection > PubTypes
Definition: DWARFYAML.h:247
LLVM_ABI bool isEmpty() const
Definition: DWARFYAML.cpp:21
std::vector< IdxForm > Indices
Definition: DWARFYAML.h:133
std::vector< yaml::Hex64 > Values
Definition: DWARFYAML.h:139
std::vector< DebugNameAbbreviation > Abbrevs
Definition: DWARFYAML.h:143
std::vector< DebugNameEntry > Entries
Definition: DWARFYAML.h:144
std::vector< FormValue > Values
Definition: DWARFYAML.h:102
llvm::yaml::Hex32 AbbrCode
Definition: DWARFYAML.h:101
std::vector< llvm::yaml::Hex8 > BlockData
Definition: DWARFYAML.h:97
llvm::yaml::Hex64 Value
Definition: DWARFYAML.h:95
dwarf::LineNumberOps Opcode
Definition: DWARFYAML.h:155
std::optional< uint64_t > ExtLen
Definition: DWARFYAML.h:156
std::vector< llvm::yaml::Hex64 > StandardOpcodeData
Definition: DWARFYAML.h:162
dwarf::LineNumberExtendedOps SubOpcode
Definition: DWARFYAML.h:157
std::vector< llvm::yaml::Hex8 > UnknownOpcodeData
Definition: DWARFYAML.h:161
std::optional< uint64_t > Length
Definition: DWARFYAML.h:167
std::optional< uint8_t > OpcodeBase
Definition: DWARFYAML.h:175
std::vector< LineTableOpcode > Opcodes
Definition: DWARFYAML.h:179
std::optional< uint64_t > PrologueLength
Definition: DWARFYAML.h:169
dwarf::DwarfFormat Format
Definition: DWARFYAML.h:166
std::vector< File > Files
Definition: DWARFYAML.h:178
std::vector< StringRef > IncludeDirs
Definition: DWARFYAML.h:177
std::optional< std::vector< uint8_t > > StandardOpcodeLengths
Definition: DWARFYAML.h:176
std::optional< std::vector< EntryType > > Entries
Definition: DWARFYAML.h:222
std::optional< yaml::BinaryRef > Content
Definition: DWARFYAML.h:223
std::optional< yaml::Hex8 > AddrSize
Definition: DWARFYAML.h:230
std::optional< std::vector< yaml::Hex64 > > Offsets
Definition: DWARFYAML.h:233
dwarf::DwarfFormat Format
Definition: DWARFYAML.h:227
std::vector< ListEntries< EntryType > > Lists
Definition: DWARFYAML.h:234
std::optional< uint32_t > OffsetEntryCount
Definition: DWARFYAML.h:232
std::optional< yaml::Hex64 > Length
Definition: DWARFYAML.h:228
std::vector< yaml::Hex64 > Values
Definition: DWARFYAML.h:216
std::optional< yaml::Hex64 > DescriptionsLength
Definition: DWARFYAML.h:217
dwarf::LoclistEntries Operator
Definition: DWARFYAML.h:215
std::vector< DWARFOperation > Descriptions
Definition: DWARFYAML.h:218
llvm::yaml::Hex8 Descriptor
Definition: DWARFYAML.h:81
llvm::yaml::Hex32 DieOffset
Definition: DWARFYAML.h:80
dwarf::DwarfFormat Format
Definition: DWARFYAML.h:86
std::vector< PubEntry > Entries
Definition: DWARFYAML.h:91
Class that describes a range list entry, or a base address selection entry within a range list in the...
Definition: DWARFYAML.h:67
llvm::yaml::Hex64 HighOffset
Definition: DWARFYAML.h:69
llvm::yaml::Hex64 LowOffset
Definition: DWARFYAML.h:68
Class that describes a single range list inside the .debug_ranges section.
Definition: DWARFYAML.h:73
std::vector< RangeEntry > Entries
Definition: DWARFYAML.h:76
std::optional< llvm::yaml::Hex64 > Offset
Definition: DWARFYAML.h:74
std::optional< llvm::yaml::Hex8 > AddrSize
Definition: DWARFYAML.h:75
std::vector< yaml::Hex64 > Values
Definition: DWARFYAML.h:211
dwarf::RnglistEntries Operator
Definition: DWARFYAML.h:210
std::optional< yaml::Hex64 > Length
Definition: DWARFYAML.h:198
std::vector< yaml::Hex64 > Offsets
Definition: DWARFYAML.h:201
std::optional< uint64_t > AbbrevTableID
Definition: DWARFYAML.h:117
yaml::Hex64 TypeOffset
Definition: DWARFYAML.h:120
dwarf::DwarfFormat Format
Definition: DWARFYAML.h:112
std::optional< yaml::Hex64 > Length
Definition: DWARFYAML.h:113
yaml::Hex64 TypeSignatureOrDwoID
Definition: DWARFYAML.h:119
std::optional< uint8_t > AddrSize
Definition: DWARFYAML.h:115
llvm::dwarf::UnitType Type
Definition: DWARFYAML.h:116
std::vector< Entry > Entries
Definition: DWARFYAML.h:122
std::optional< yaml::Hex64 > AbbrOffset
Definition: DWARFYAML.h:118