summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorWeining Lu <luweining@loongson.cn>2023-02-14 08:36:43 +0800
committerWeining Lu <luweining@loongson.cn>2023-02-15 09:16:14 +0800
commit82c6e90d6a3d6773372b845a246adfed1682cb65 (patch)
tree2f6ba491239944f70d8cf93034fddd292aefe90d /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent6adf92026ee5c5f320dc078ec0eb8fe61c726122 (diff)
[Clang][Test] Add llvm-lto, llvm-lto2 and llvm-profdata to the tool substitutions list
Similar to issue fixed in D107155, some lit tests invoke `llvm-lto`, `llvm-lto2` and `llvm-profdata` without going through the substitution system. While the test runner correctly picks up these binaries from the build directory, it doesn't print its absolute path. When copying the invocations when reproducing test failures, this can result in `command not found: llvm-lto` or other errors (caused by using wrong version of the tool). This patch adds these tools to the `tools` variable in `clang/test/lit.cfg.py` which will then call add_tool_substitutions. Reviewed By: dblaikie Differential Revision: https://reviews.llvm.org/D143806
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions