[LLD] Fixed flaky unit test based on build directory.
authorMitch Phillips <mitchphillips@outlook.com>
Fri, 8 Mar 2019 22:33:22 +0000 (22:33 +0000)
committerMitch Phillips <mitchphillips@outlook.com>
Fri, 8 Mar 2019 22:33:22 +0000 (22:33 +0000)
commit88bea2b49b6f0afcad5aead501675619f19e1b2c
tree4f352c8a1aa4dea4669bde8a3db7c2df17f0ea48
parent7b374be9465205c12c6f59a3cb13157d4d932b4a
[LLD] Fixed flaky unit test based on build directory.

This unit test fails if 'zed' appears in your build path, as lld is
echoing out the path of the source file. Change the unit test to
explicitly only match everything after the 'Symbols [' line of the
output, to make sure that this test doesn't inadvertently fail due to
the build path.

llvm-svn: 355748
lld/test/ELF/lto/linker-script-symbols.ll