aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/ReachingDefAnalysis.cpp
diff options
context:
space:
mode:
authorRainer Orth <ro@gcc.gnu.org>2020-08-25 09:36:51 +0200
committerRainer Orth <ro@gcc.gnu.org>2020-08-25 09:36:51 +0200
commite3585ff7af17acda65bbdac66530bbf5f67fdbca (patch)
treec544606234c770e1b3abbdb0b1c2587d1fa20304 /llvm/lib/CodeGen/ReachingDefAnalysis.cpp
parent879c1db5d24dcb0ac03f9f6282a09996ff3dc291 (diff)
downloadllvm-e3585ff7af17acda65bbdac66530bbf5f67fdbca.zip
llvm-e3585ff7af17acda65bbdac66530bbf5f67fdbca.tar.gz
llvm-e3585ff7af17acda65bbdac66530bbf5f67fdbca.tar.bz2
[compiler-rt][asan][test] Set LD_LIBRARY_PATH_{32,64} on Solaris
The dynamically linked ASan tests rely on `LD_LIBRARY_PATH` to find `libclang_rt.asan-*.so` at runtime. However, the Solaris runtime linker `ld.so.1` also supports more specific variables: `LD_LIBRARY_PATH_32` and `LD_LIBRARY_PATH_64` respectively. If those happen to be set, `LD_LIBRARY_PATH` is ignored. In such a case, all dynamically linked ASan tests `FAIL`. For i386 alone, this affects about 200 tests. The following patch fixes that by also setting `LD_LIBRARY_PATH_{32,64}` on Solaris. Tested on `amd64-pc-solaris2.11` both with only `LD_LIBRARY_PATH` set and with `LD_LIBRARY_PATH_{32,64}` set too. Differential Revision: https://reviews.llvm.org/D86333
Diffstat (limited to 'llvm/lib/CodeGen/ReachingDefAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions