diff options
author | Petr Hosek <phosek@chromium.org> | 2018-10-05 21:10:03 +0000 |
---|---|---|
committer | Petr Hosek <phosek@chromium.org> | 2018-10-05 21:10:03 +0000 |
commit | 62f6462bf931693792743cf61d655bb644bd72b3 (patch) | |
tree | 21e1197805eaadc67e338209cec871eb36dccba9 /clang/test/CodeGen/thinlto_backend.ll | |
parent | 25905398e51abfc50177da77f532fa105ce9372e (diff) | |
download | bcm5719-llvm-62f6462bf931693792743cf61d655bb644bd72b3.tar.gz bcm5719-llvm-62f6462bf931693792743cf61d655bb644bd72b3.zip |
[llvm-nm] Write "no symbol" output to stderr
This matches the output of binutils' nm and ensures that any scripts
or tools that use nm and expect empty output in case there no symbols
don't break.
Differential Revision: https://reviews.llvm.org/D52943
llvm-svn: 343887
Diffstat (limited to 'clang/test/CodeGen/thinlto_backend.ll')
-rw-r--r-- | clang/test/CodeGen/thinlto_backend.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGen/thinlto_backend.ll b/clang/test/CodeGen/thinlto_backend.ll index be7a6feeb98..2dd919d5f7d 100644 --- a/clang/test/CodeGen/thinlto_backend.ll +++ b/clang/test/CodeGen/thinlto_backend.ll @@ -25,7 +25,7 @@ ; 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 | FileCheck %s -check-prefix=NO-SYMBOLS +; RUN: llvm-nm %t4.o 2>&1 | FileCheck %s -check-prefix=NO-SYMBOLS ; NO-SYMBOLS: no symbols ; Ensure f2 was imported. Check for all 3 flavors of -save-temps[=cwd|obj]. |