diff options
author | Kevin Enderby <enderby@apple.com> | 2014-05-09 23:57:49 +0000 |
---|---|---|
committer | Kevin Enderby <enderby@apple.com> | 2014-05-09 23:57:49 +0000 |
commit | ae417592a5cc33d2e0110cc98403e64301b23c73 (patch) | |
tree | df7a9fa4877da632f8054f2b976b83b11a2e3aec /tools/llvm-dis/llvm-dis.cpp | |
parent | 3ae331d81a8f9e477df10ab86dca999d9f136a26 (diff) | |
download | llvm-ae417592a5cc33d2e0110cc98403e64301b23c73.tar.gz llvm-ae417592a5cc33d2e0110cc98403e64301b23c73.tar.bz2 llvm-ae417592a5cc33d2e0110cc98403e64301b23c73.tar.xz |
Fix llvm-nm to print the full 64-bit address for symbols in 64-bit object files.
The implementation might be better to have a method is64Bit() in the class
SymbolicFile instead of having the static routine isSymbolList64Bit() in
llvm-nm.cpp . But this is very much in the sprit of isObject() and
getNMTypeChar() in llvm-nm.cpp that has a series of if else statements
based on the specific class of the SymbolicFile. I can update this if
folks would like.
Also the tests were updated to be explicit about checking the address for
64-bits or 32-bits from object files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208463 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-dis/llvm-dis.cpp')
0 files changed, 0 insertions, 0 deletions