mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
llvm-readobj: print out the fields of the COFF delay-import table
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218996 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -921,6 +921,14 @@ void COFFDumper::printCOFFImports() {
|
||||
StringRef Name;
|
||||
if (error(I->getName(Name))) return;
|
||||
W.printString("Name", Name);
|
||||
const delay_import_directory_table_entry *Table;
|
||||
if (error(I->getDelayImportTable(Table))) return;
|
||||
W.printHex("Attributes", Table->Attributes);
|
||||
W.printHex("ModuleHandle", Table->ModuleHandle);
|
||||
W.printHex("ImportAddressTable", Table->DelayImportAddressTable);
|
||||
W.printHex("ImportNameTable", Table->DelayImportNameTable);
|
||||
W.printHex("BoundDelayImportTable", Table->BoundDelayImportTable);
|
||||
W.printHex("UnloadDelayImportTable", Table->UnloadDelayImportTable);
|
||||
printImportedSymbols(I->imported_symbol_begin(), I->imported_symbol_end());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user