aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorRainer Orth <ro@gcc.gnu.org>2024-10-15 10:06:11 +0200
committerGitHub <noreply@github.com>2024-10-15 10:06:11 +0200
commit11903e8c96ae4be9c3cdf3a380f30b611740bfa6 (patch)
tree547b3c59247dc814c869582641b27b170e6f0d0e /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parente29015218150e447ebc3258653dc8e8373566b6c (diff)
downloadllvm-11903e8c96ae4be9c3cdf3a380f30b611740bfa6.zip
llvm-11903e8c96ae4be9c3cdf3a380f30b611740bfa6.tar.gz
llvm-11903e8c96ae4be9c3cdf3a380f30b611740bfa6.tar.bz2
[sanitizer][test] Unify LD_LIBRARY_PATH handling (#111498)
When testing on Linux/sparc64 with a `runtimes` build, the `UBSan-Standalone-sparc :: TestCases/Misc/Linux/sigaction.cpp` test `FAIL`s: ``` runtimes/runtimes-bins/compiler-rt/test/ubsan/Standalone-sparc/TestCases/Misc/Linux/Output/sigaction.cpp.tmp: error while loading shared libraries: libclang_rt.ubsan_standalone.so: wrong ELF class: ELFCLASS64 ``` It turns out SPARC needs the same `LD_LIBRARY_PATH` handling as x86. This is what this patch does, at the same time noticing that the current duplication between `lit.common.cfg.py` and `asan/Unit/lit.site.cfg.py.in` isn't necessary. Tested on `sparc64-unknown-linux-gnu` and `x86_64-pc-linux-gnu`.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions