llvm/test/tools/llvm-nm/X86/IRobj.test
Kevin Enderby 7f0edadcaf Fix llvm-nm(1) printing of llvm-bitcode files for -format darwin to match darwin’s nm(1).
Also a small fix to match printing of Mach-O objects with -format posix.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252567 91177308-0d34-0410-b5e6-96231b3b80d8
2015-11-10 00:31:08 +00:00

12 lines
650 B
Plaintext

# RUN: llvm-nm -format darwin %p/Inputs/test.IRobj-x86_64 | FileCheck %s
# CHECK: ---------------- (LTO,RODATA) external _global_const
# CHECK: ---------------- (LTO,DATA) external _global_data
# CHECK: ---------------- (LTO,CODE) external _global_func
# CHECK: ---------------- (LTO,RODATA) private external _hidden_const
# CHECK: ---------------- (LTO,DATA) private external _hidden_data
# CHECK: ---------------- (LTO,CODE) private external _hidden_func
# CHECK: ---------------- (LTO,RODATA) non-external _static_const
# CHECK: ---------------- (LTO,DATA) non-external _static_data
# CHECK: ---------------- (LTO,CODE) non-external _static_func