[lld] Remove 2>&1 from --trace-symbol tests
authorSam Clegg <sbc@chromium.org>
Wed, 15 May 2019 19:01:51 +0000 (19:01 +0000)
committerSam Clegg <sbc@chromium.org>
Wed, 15 May 2019 19:01:51 +0000 (19:01 +0000)
commit5e6ea24497796834615f95ac0088eff5726c7d9b
treeab7892507c78d270cae62e814eb51210bfd57e2d
parent07c7257cdc7f7fda8343d45e645a4c59f66835a1
[lld] Remove 2>&1 from --trace-symbol tests

The tracing goes to stdout so this is not needed.

Also remove the "not" from the final check in ELF/trace-symbols.s.
According the comment the check is that we don't crash, so we should
be checking for success here. Previously this step is error'ing with
undefined symbols because it didn't include all the needed objects.

Differential Revision: https://reviews.llvm.org/D61928

llvm-svn: 360794
lld/test/ELF/trace-symbols.s
lld/test/wasm/trace-symbol.ll