diff options
Diffstat (limited to 'test/tools/gold/emit-llvm.ll')
-rw-r--r-- | test/tools/gold/emit-llvm.ll | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/tools/gold/emit-llvm.ll b/test/tools/gold/emit-llvm.ll index f851fbfb5e02..bfb90c4bc28a 100644 --- a/test/tools/gold/emit-llvm.ll +++ b/test/tools/gold/emit-llvm.ll @@ -12,6 +12,7 @@ ; RUN: -shared %t.o -o %t3.o ; RUN: llvm-dis %t3.o.bc -o - | FileCheck %s ; RUN: llvm-dis %t3.o.opt.bc -o - | FileCheck --check-prefix=OPT %s +; RUN: llvm-nm %t3.o.o | FileCheck --check-prefix=NM %s ; RUN: rm -f %t4.o ; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ @@ -19,6 +20,8 @@ ; RUN: -shared %t.o -o %t4.o ; RUN: not test -a %t4.o +; NM: T f3 + target triple = "x86_64-unknown-linux-gnu" @g7 = extern_weak global i32 |