I'm working on making the llvm-dwarfdump output more flexible, e.g. adding verbose, brief mode etc.
This commit introduces a structure that holds all the flags that control the pretty printing of dwarf output.
Details
Details
Diff Detail
Diff Detail
Event Timeline
include/llvm/DebugInfo/DIContext.h | ||
---|---|---|
155 | Use non-static data member initializers rather than a user-defined ctor. | |
tools/llvm-dwarfdump/llvm-dwarfdump.cpp | ||
99 | Doubt the comment needs to change - the code seems pretty self explanatory. | |
tools/llvm-objdump/MachODump.cpp | ||
1273 | similarly here (code seems self explanatory) Though, equally, in this and the toher case, you could use: '{DwarfDumpType, true /* DumpEH */, false /* SummarizeTypes */}" if you like | |
tools/llvm-objdump/llvm-objdump.cpp | ||
2066 | similarly here |
Comment Actions
- Replace user-defined ctor with non-static member initializers for struct DIDumpOptions.
- Revert comments for dumping the complete DWARF structure to their initial form.
Use non-static data member initializers rather than a user-defined ctor.