[llvm-nm] Update clang tests based on changed llvm-nm output
authorJordan Rupprecht <rupprecht@google.com>
Wed, 3 Oct 2018 23:40:04 +0000 (23:40 +0000)
committerJordan Rupprecht <rupprecht@google.com>
Wed, 3 Oct 2018 23:40:04 +0000 (23:40 +0000)
llvm-svn: 343744

clang/test/CodeGen/thinlto_backend.ll

index 5ba8464..be7a6fe 100644 (file)
@@ -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