mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 06:25:18 +00:00
[llvm-pdbdump] Many minor fixes and improvements
A short list of some of the improvements: 1) Now supports -all command line argument, which implies many other command line arguments to simplify usage. 2) Now supports -no-compiler-generated command line argument to exclude compiler generated types. 3) Prints base class list. 4) -class-definitions implies -types. 5) Proper display of bitfields. 6) Can now distinguish between struct/class/interface/union. And a few other minor tweaks. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230933 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -124,7 +124,9 @@ void CompilandDumper::dump(const PDBSymbolThunk &Symbol) {
|
||||
<< "[" << format_hex(RVA, 10) << " - "
|
||||
<< format_hex(RVA + Symbol.getLength(), 10) << "]";
|
||||
}
|
||||
Printer << " (" << Ordinal << ") ";
|
||||
Printer << " (";
|
||||
WithColor(Printer, PDB_ColorItem::Register).get() << Ordinal;
|
||||
Printer << ") ";
|
||||
std::string Name = Symbol.getName();
|
||||
if (!Name.empty())
|
||||
WithColor(Printer, PDB_ColorItem::Identifier).get() << Name;
|
||||
|
Reference in New Issue
Block a user