[PATCH] D42390: msan: Pass --disable-new-dtags for tests
Don Hinton via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 24 01:39:11 PST 2018
hintonda added a comment.
In https://reviews.llvm.org/D42390#986091, @Hahnfeld wrote:
> In https://reviews.llvm.org/D42390#985837, @eugenis wrote:
>
> > One option is to unset LD_LIBRARY_PATH in tests.
> > Another is to use -Wl,-rpath when linking the code with non-instrumented libc++. The same as tests do for instrumented one.
>
>
> I use libc++ with the host compiler and it needs to be in LD_LIBRARY_PATH for all other tests to work.
You should be able to handle this in lit.
Take a look at how compiler-rt/test/asan/lit.cfg munges LD_LIBRARY_PATH, and do something similar in compiler-rt/test/msan/Unit/.
Repository:
rCRT Compiler Runtime
https://reviews.llvm.org/D42390
More information about the llvm-commits
mailing list