diff options
author | Rui Ueyama <ruiu@google.com> | 2013-06-12 19:10:33 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2013-06-12 19:10:33 +0000 |
commit | 4bf771b4e6d37ae1d6ae08ea27c4070a3a09784d (patch) | |
tree | da83d403dd828e21ed4072aa6a9c587c827c2483 /tools/llvm-objdump | |
parent | 100fbdd06be7590b23c4707a98cd605bdb519498 (diff) | |
download | external_llvm-4bf771b4e6d37ae1d6ae08ea27c4070a3a09784d.zip external_llvm-4bf771b4e6d37ae1d6ae08ea27c4070a3a09784d.tar.gz external_llvm-4bf771b4e6d37ae1d6ae08ea27c4070a3a09784d.tar.bz2 |
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
Diffstat (limited to 'tools/llvm-objdump')
-rw-r--r-- | tools/llvm-objdump/COFFDump.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-objdump/COFFDump.cpp b/tools/llvm-objdump/COFFDump.cpp index 7b55007..bca6fc9 100644 --- a/tools/llvm-objdump/COFFDump.cpp +++ b/tools/llvm-objdump/COFFDump.cpp @@ -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 " |