projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0517c5
)
[llvm-readobj] MachO: dump the correct field.
author
Davide Italiano
<davide@freebsd.org>
Fri, 4 Sep 2015 20:43:00 +0000
(20:43 +0000)
committer
Davide Italiano
<davide@freebsd.org>
Fri, 4 Sep 2015 20:43:00 +0000
(20:43 +0000)
This was found while converting a test from macho-dump to llvm-readobj
and will once I commit the converted test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246868
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/llvm-readobj/MachODumper.cpp
patch
|
blob
|
history
diff --git
a/tools/llvm-readobj/MachODumper.cpp
b/tools/llvm-readobj/MachODumper.cpp
index 80c45dee3cc2d5fba71be53f2741d113da317c00..fd6e00b9e83bff5e89fafc6dec7deb4714e1577d 100644
(file)
--- a/
tools/llvm-readobj/MachODumper.cpp
+++ b/
tools/llvm-readobj/MachODumper.cpp
@@
-767,7
+767,7
@@
void MachODumper::printMachOSegment() {
W.printHex("vmaddr", MOSegment.vmaddr);
W.printHex("vmsize", MOSegment.vmsize);
W.printNumber("fileoff", MOSegment.fileoff);
- W.printNumber("filesize", MOSegment.file
off
);
+ W.printNumber("filesize", MOSegment.file
size
);
W.printString("maxprot", getMask(MOSegment.maxprot));
W.printString("initprot", getMask(MOSegment.initprot));
W.printNumber("nsects", MOSegment.nsects);