summaryrefslogtreecommitdiff
path: root/lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
diff options
context:
space:
mode:
authorMatthias Gehre <matthias.gehre@amd.com>2025-01-29 08:36:13 +0100
committerGitHub <noreply@github.com>2025-01-29 08:36:13 +0100
commitd34462409757731e158909250d2a4be4f9d2de80 (patch)
tree3bd1672898e8e07a299ad34aaace56f0cd652ac8 /lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
parent2ec27848c00cda734697619047e640eadb254555 (diff)
MLIR: asan: Fix python tests under asan on Linux (#123303)
Running MLIR python tests unders asan currently fails with ``` executed command: 'LD_PRELOAD=$(/usr/bin/clang++-17' '-print-file-name=libclang_rt.asan-x86_64.so)' /scratch/slx-llvm/.venv-3.10/bin/python3.10 /scratch/slx-llvm/mlir/test/python/ir/context_lifecycle.py | 'LD_PRELOAD=$(/usr/bin/clang++-17': command not found ``` because lit doesn't quite understand the syntax. To fix, we resolve the path to `libclang_rt.asan-x86_64.so` within the lit configuration. This has the additional benefit that we don't have to call `clang++` for every test. Co-authored-by: Philipp-Jan Honysz <Philipp.Honysz@amd.com>
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp')
0 files changed, 0 insertions, 0 deletions