16 using namespace dwarf;
19 unsigned IndLevel = 0;
20 for (
const auto &Macros : MacroLists) {
21 for (
const Entry &
E : Macros) {
27 for (
unsigned I = 0;
I < IndLevel;
I++)
38 OS <<
" - lineno: " <<
E.Line;
39 OS <<
" macro: " <<
E.MacroStr;
42 OS <<
" - lineno: " <<
E.Line;
43 OS <<
" filenum: " <<
E.File;
48 OS <<
" - constant: " <<
E.ExtConstant;
49 OS <<
" string: " <<
E.ExtStr;
63 MacroLists.emplace_back();
64 M = &MacroLists.
back();
88 E.MacroStr = data.
getCStr(&Offset);
102 E.ExtStr = data.
getCStr(&Offset);
reference emplace_back(ArgTypes &&... Args)
This class represents lattice values for constants.
An RAII object that temporarily switches an output stream to a specific color.
static GCRegistry::Add< CoreCLRGC > E("coreclr", "CoreCLR-compatible GC")
void parse(DataExtractor data)
Parse the debug_macinfo section accessible via the 'data' parameter.
void dump(raw_ostream &OS) const
Print the macro list found within the debug_macinfo section.
This file contains constants used for implementing Dwarf debug support.
This class implements an extremely fast bulk output stream that can only output to a stream...
StringRef MacinfoString(unsigned Encoding)