mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-30 02:25:19 +00:00
readobj: Dump PE/COFF optional records.
These records are mandatory for executables and are used by the loader. Reviewers: rafael CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D939 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183852 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -229,7 +229,7 @@ static void printCOFFSymbolAddress(llvm::raw_ostream &Out,
|
||||
|
||||
void llvm::printCOFFUnwindInfo(const COFFObjectFile *Obj) {
|
||||
const coff_file_header *Header;
|
||||
if (error(Obj->getHeader(Header))) return;
|
||||
if (error(Obj->getCOFFHeader(Header))) return;
|
||||
|
||||
if (Header->Machine != COFF::IMAGE_FILE_MACHINE_AMD64) {
|
||||
errs() << "Unsupported image machine type "
|
||||
|
Reference in New Issue
Block a user