[all-commits] [llvm/llvm-project] 11903e: [sanitizer][test] Unify LD_LIBRARY_PATH handling (...
Rainer Orth via All-commits
all-commits at lists.llvm.org
Tue Oct 15 01:06:34 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 11903e8c96ae4be9c3cdf3a380f30b611740bfa6
https://github.com/llvm/llvm-project/commit/11903e8c96ae4be9c3cdf3a380f30b611740bfa6
Author: Rainer Orth <ro at gcc.gnu.org>
Date: 2024-10-15 (Tue, 15 Oct 2024)
Changed paths:
M compiler-rt/test/asan/Unit/lit.site.cfg.py.in
M compiler-rt/test/lit.common.cfg.py
Log Message:
-----------
[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`.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list