summaryrefslogtreecommitdiff
path: root/test/ELF/lto/thinlto-obj-path.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/ELF/lto/thinlto-obj-path.ll')
-rw-r--r--test/ELF/lto/thinlto-obj-path.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/ELF/lto/thinlto-obj-path.ll b/test/ELF/lto/thinlto-obj-path.ll
index bb69bb876a281..2806d164a54c3 100644
--- a/test/ELF/lto/thinlto-obj-path.ll
+++ b/test/ELF/lto/thinlto-obj-path.ll
@@ -7,7 +7,8 @@
; 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 %t3
; RUN: llvm-readobj -h %t4.o | FileCheck %s
-; RUN: llvm-nm %t4.o | count 0
+; RUN: llvm-nm %t4.o 2>&1 | FileCheck %s -check-prefix=NO-SYMBOLS
+; NO-SYMBOLS: no symbols
; CHECK: Format: ELF64-x86-64