projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed ObjectFile functions:
[oota-llvm.git]
/
tools
/
llvm-objdump
/
MachODump.cpp
diff --git
a/tools/llvm-objdump/MachODump.cpp
b/tools/llvm-objdump/MachODump.cpp
index 4ccae5148bd5f17c7a615fcdc4c97ba25a89d1a6..ffeea88bdc25c78dda57798ccc1ab32d197737aa 100644
(file)
--- a/
tools/llvm-objdump/MachODump.cpp
+++ b/
tools/llvm-objdump/MachODump.cpp
@@
-419,7
+419,7
@@
void llvm::DisassembleInputMachO(StringRef Filename) {
// Start at the address of the symbol relative to the section's address.
uint64_t Start = 0;
// Start at the address of the symbol relative to the section's address.
uint64_t Start = 0;
- Symbols[SymIdx].get
Offset
(Start);
+ Symbols[SymIdx].get
Address
(Start);
// Stop disassembling either at the beginning of the next symbol or at
// the end of the section.
// Stop disassembling either at the beginning of the next symbol or at
// the end of the section.
@@
-432,7
+432,7
@@
void llvm::DisassembleInputMachO(StringRef Filename) {
if (NextSymType == SymbolRef::ST_Function) {
Sections[SectIdx].containsSymbol(Symbols[NextSymIdx],
containsNextSym);
if (NextSymType == SymbolRef::ST_Function) {
Sections[SectIdx].containsSymbol(Symbols[NextSymIdx],
containsNextSym);
- Symbols[NextSymIdx].get
Offset
(NextSym);
+ Symbols[NextSymIdx].get
Address
(NextSym);
break;
}
++NextSymIdx;
break;
}
++NextSymIdx;