summaryrefslogtreecommitdiff
path: root/test/CodeGen/thinlto_backend.ll
diff options
context:
space:
mode:
authorJordan Rupprecht <rupprecht@google.com>2018-10-03 23:40:04 +0000
committerJordan Rupprecht <rupprecht@google.com>2018-10-03 23:40:04 +0000
commit33092ad02b4339d9b7f1e9a4f614c17540685ad1 (patch)
tree76a81b66ed793c3d28525cb006911d0bfb32acf6 /test/CodeGen/thinlto_backend.ll
parent174e92acb7ee9d36a21a4c85c554f121cf94fd61 (diff)
downloadclang-33092ad02b4339d9b7f1e9a4f614c17540685ad1.tar.gz
[llvm-nm] Update clang tests based on changed llvm-nm output
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@343744 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/thinlto_backend.ll')
-rw-r--r--test/CodeGen/thinlto_backend.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CodeGen/thinlto_backend.ll b/test/CodeGen/thinlto_backend.ll
index 5ba846457d..be7a6feeb9 100644
--- a/test/CodeGen/thinlto_backend.ll
+++ b/test/CodeGen/thinlto_backend.ll
@@ -25,7 +25,8 @@
; be empty file.
; RUN: opt -o %t5.o %s
; RUN: %clang -target x86_64-unknown-linux-gnu -O2 -o %t4.o -x ir %t5.o -c -fthinlto-index=%t.thinlto.bc
-; RUN: llvm-nm %t4.o | count 0
+; RUN: llvm-nm %t4.o | FileCheck %s -check-prefix=NO-SYMBOLS
+; NO-SYMBOLS: no symbols
; Ensure f2 was imported. Check for all 3 flavors of -save-temps[=cwd|obj].
; RUN: %clang -target x86_64-unknown-linux-gnu -O2 -o %t3.o -x ir %t1.o -c -fthinlto-index=%t.thinlto.bc -save-temps=obj