[lld] 08f2b67 - [test] Fix test/ELF/lto/thinlto-obj-path.ll after D52810

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 17 10:13:29 PST 2020


Author: Fangrui Song
Date: 2020-01-17T10:13:21-08:00
New Revision: 08f2b67d03ba8612c6ee384d0a69a34a55076903

URL: https://github.com/llvm/llvm-project/commit/08f2b67d03ba8612c6ee384d0a69a34a55076903
DIFF: https://github.com/llvm/llvm-project/commit/08f2b67d03ba8612c6ee384d0a69a34a55076903.diff

LOG: [test] Fix test/ELF/lto/thinlto-obj-path.ll after D52810

Added: 
    

Modified: 
    lld/test/ELF/lto/thinlto-obj-path.ll

Removed: 
    


################################################################################
diff  --git a/lld/test/ELF/lto/thinlto-obj-path.ll b/lld/test/ELF/lto/thinlto-obj-path.ll
index 224b5b651861..52338f9df375 100644
--- a/lld/test/ELF/lto/thinlto-obj-path.ll
+++ b/lld/test/ELF/lto/thinlto-obj-path.ll
@@ -7,8 +7,7 @@
 ; RUN: rm -f %t4.o
 ; RUN: ld.lld --plugin-opt=thinlto-index-only --plugin-opt=obj-path=%t4.o -shared %t1.o %t2.o -o /dev/null
 ; RUN: llvm-readobj -h %t4.o | FileCheck %s
-; RUN: llvm-nm %t4.o 2>&1 | FileCheck %s -check-prefix=NO-SYMBOLS
-; NO-SYMBOLS: no symbols
+; RUN: llvm-nm %t4.o 2>&1 | count 0
 
 ; Check that this also works without the --plugin-opt= prefix.
 ; RUN: rm -f %t4.o


        


More information about the llvm-commits mailing list