r343744 - [llvm-nm] Update clang tests based on changed llvm-nm output

Jordan Rupprecht via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 3 16:40:05 PDT 2018


Author: rupprecht
Date: Wed Oct  3 16:40:04 2018
New Revision: 343744

URL: http://llvm.org/viewvc/llvm-project?rev=343744&view=rev
Log:
[llvm-nm] Update clang tests based on changed llvm-nm output

Modified:
    cfe/trunk/test/CodeGen/thinlto_backend.ll

Modified: cfe/trunk/test/CodeGen/thinlto_backend.ll
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/thinlto_backend.ll?rev=343744&r1=343743&r2=343744&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/thinlto_backend.ll (original)
+++ cfe/trunk/test/CodeGen/thinlto_backend.ll Wed Oct  3 16:40:04 2018
@@ -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




More information about the cfe-commits mailing list