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 | 82ebd8e36daf3da080908dc466e9a2edfc93a955 (patch) | |
| tree | 62cf206f39a80b96f82899bc95a58a78514e9946 /llvm/tools/obj2yaml/coff2yaml.cpp | |
| parent | f370ad905571dd9e51b26eee7d75ceb95268a771 (diff) | |
| download | bcm5719-llvm-82ebd8e36daf3da080908dc466e9a2edfc93a955.tar.gz bcm5719-llvm-82ebd8e36daf3da080908dc466e9a2edfc93a955.zip | |
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
llvm-svn: 183852
Diffstat (limited to 'llvm/tools/obj2yaml/coff2yaml.cpp')
| -rw-r--r-- | llvm/tools/obj2yaml/coff2yaml.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/obj2yaml/coff2yaml.cpp b/llvm/tools/obj2yaml/coff2yaml.cpp index 0ec35bfc7e3..1e28c4e9d6c 100644 --- a/llvm/tools/obj2yaml/coff2yaml.cpp +++ b/llvm/tools/obj2yaml/coff2yaml.cpp @@ -38,7 +38,7 @@ static void check(error_code ec) { COFFDumper::COFFDumper(const object::COFFObjectFile &Obj) : Obj(Obj) { const object::coff_file_header *Header; - check(Obj.getHeader(Header)); + check(Obj.getCOFFHeader(Header)); dumpHeader(Header); dumpSections(Header->NumberOfSections); dumpSymbols(Header->NumberOfSymbols); |

