[PATCH] D52943: [llvm-nm] Write "no symbol" output to stderr

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 5 14:12:58 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rLLD343887: [llvm-nm] Write "no symbol" output to stderr (authored by phosek, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D52943?vs=168530&id=168531#toc

Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D52943

Files:
  test/ELF/lto/thinlto-obj-path.ll


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52943.168531.patch
Type: text/x-patch
Size: 553 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181005/e5e885c3/attachment.bin>


More information about the llvm-commits mailing list