diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-04-15 16:08:02 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-04-15 16:08:02 +0000 |
commit | c7f424d338754836906833b69da1ca56843feb71 (patch) | |
tree | bb4155e6f4124a94db708f57620ca378c7dc4f2c /tools | |
parent | d354644eb1d6d3f0991f5d971689862b670048af (diff) | |
download | external_llvm-c7f424d338754836906833b69da1ca56843feb71.zip external_llvm-c7f424d338754836906833b69da1ca56843feb71.tar.gz external_llvm-c7f424d338754836906833b69da1ca56843feb71.tar.bz2 |
Remove getters now that we can specialize structs on the host endianness.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179534 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/llvm-readobj/MachODumper.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/llvm-readobj/MachODumper.cpp b/tools/llvm-readobj/MachODumper.cpp index d207eab..d4eaae6 100644 --- a/tools/llvm-readobj/MachODumper.cpp +++ b/tools/llvm-readobj/MachODumper.cpp @@ -376,8 +376,8 @@ void MachODumper::printRelocation(const MachOObjectFileMiddle<E> *Obj, if (IsScattered) W.printString("Extern", StringRef("N/A")); else - W.printNumber("Extern", RE->getExternal()); - W.printNumber("Type", RelocName, RE->getType()); + W.printNumber("Extern", RE->External); + W.printNumber("Type", RelocName, RE->Type); W.printString("Symbol", SymbolName.size() > 0 ? SymbolName : "-"); W.printNumber("Scattered", IsScattered); } else { @@ -388,7 +388,7 @@ void MachODumper::printRelocation(const MachOObjectFileMiddle<E> *Obj, if (IsScattered) OS << " n/a"; else - OS << " " << RE->getExternal(); + OS << " " << RE->External; OS << " " << RelocName << " " << IsScattered << " " << (SymbolName.size() > 0 ? SymbolName : "-") |