Index: test/ELF/lto/thinlto-obj-path.ll =================================================================== --- test/ELF/lto/thinlto-obj-path.ll +++ test/ELF/lto/thinlto-obj-path.ll @@ -7,7 +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 %t3 ; RUN: llvm-readobj -h %t4.o | FileCheck %s -; RUN: llvm-nm %t4.o | FileCheck %s -check-prefix=NO-SYMBOLS +; RUN: llvm-nm %t4.o 2>&1 | FileCheck %s -check-prefix=NO-SYMBOLS ; NO-SYMBOLS: no symbols ; CHECK: Format: ELF64-x86-64