diff options
author | Eric Christopher <echristo@apple.com> | 2011-04-03 23:51:47 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2011-04-03 23:51:47 +0000 |
commit | 592cf78f842999d3b6c958822927790bc3f45c62 (patch) | |
tree | 6640d22b8e90ad74a37fdc048de08473da3933b1 /tools/macho-dump | |
parent | 33feb706901bc674d30e9d82b6baff7e9c634366 (diff) | |
download | external_llvm-592cf78f842999d3b6c958822927790bc3f45c62.zip external_llvm-592cf78f842999d3b6c958822927790bc3f45c62.tar.gz external_llvm-592cf78f842999d3b6c958822927790bc3f45c62.tar.bz2 |
Start migrating mach-o dumping facilities to the object file out of a
separate executable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128801 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/macho-dump')
-rw-r--r-- | tools/macho-dump/macho-dump.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/macho-dump/macho-dump.cpp b/tools/macho-dump/macho-dump.cpp index c4c558d..a69368b 100644 --- a/tools/macho-dump/macho-dump.cpp +++ b/tools/macho-dump/macho-dump.cpp @@ -376,8 +376,8 @@ int main(int argc, char **argv) { if (!InputObject) return Error("unable to load object: '" + ErrorStr + "'"); - if (int Res = DumpHeader(*InputObject)) - return Res; + // Print the header + InputObject->printHeader(outs()); // Print the load commands. int Res = 0; |