mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-02 07:32:52 +00:00
ae417592a5
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
7 lines
205 B
Plaintext
7 lines
205 B
Plaintext
RUN: llvm-nm %p/Inputs/macho-universal.x86_64.i386 | FileCheck %s
|
|
|
|
CHECK: macho-universal.x86_64.i386:x86_64
|
|
CHECK: 0000000100000f60 T _main
|
|
CHECK: macho-universal.x86_64.i386:i386
|
|
CHECK: 00001fa0 T _main
|