mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-21 03:37:47 +00:00
llvm-readobj: Dump more COFF auxiliary records
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180007 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
92f5e268c9
commit
c74142ab15
@ -785,7 +785,12 @@ void COFFDumper::printSymbol(symbol_iterator SymI) {
|
||||
if (error(getSymbolAuxData(Obj, Symbol + I, Aux)))
|
||||
break;
|
||||
|
||||
} else if (Symbol->StorageClass == COFF::IMAGE_SYM_CLASS_STATIC) {
|
||||
DictScope AS(W, "AuxFileRecord");
|
||||
W.printString("FileName", StringRef(Aux->FileName));
|
||||
|
||||
} else if (Symbol->StorageClass == COFF::IMAGE_SYM_CLASS_STATIC ||
|
||||
(Symbol->StorageClass == COFF::IMAGE_SYM_CLASS_EXTERNAL &&
|
||||
Symbol->SectionNumber != COFF::IMAGE_SYM_UNDEFINED)) {
|
||||
const coff_aux_section_definition *Aux;
|
||||
if (error(getSymbolAuxData(Obj, Symbol + I, Aux)))
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user