mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-01 15:17:25 +00:00
[COFF] Make it clearer that the symbols subsection holds function display name rather than just name
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221812 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -669,12 +669,12 @@ void COFFDumper::printCodeViewSymbolsSubsection(StringRef Subsection,
|
||||
return;
|
||||
Offset += 4;
|
||||
DE.getU8(&Offset, Unused, 3);
|
||||
StringRef FunctionName = DE.getCStr(&Offset);
|
||||
StringRef DisplayName = DE.getCStr(&Offset);
|
||||
if (!DE.isValidOffset(Offset)) {
|
||||
error(object_error::parse_failed);
|
||||
return;
|
||||
}
|
||||
W.printString("FunctionName", FunctionName);
|
||||
W.printString("DisplayName", DisplayName);
|
||||
W.printString("Section", SectionName);
|
||||
W.printHex("CodeSize", CodeSize);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user