llvm/llvm/test/tools/llvm-nm/X86/IRobj.test

# 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