[Lldb-commits] [lldb] [lldb][test] Use tools from llvm instead of compiler tools (PR #109961)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Wed Sep 25 04:52:49 PDT 2024
================
@@ -149,9 +153,9 @@ def getToolchainSpec(self, compiler):
cc_dir = cc_path.parent
def getToolchainUtil(util_name):
- return cc_dir / (cc_prefix + util_name + cc_ext)
+ return os.path.join(configuration.llvm_tools_dir, util_name + exe_ext)
- cxx = getToolchainUtil(cxx_type)
+ cxx = cc_dir / (cc_prefix + cxx_type + cc_ext)
----------------
DavidSpickett wrote:
TIL that this magical mystery use of divide exists.
https://github.com/llvm/llvm-project/pull/109961
More information about the lldb-commits
mailing list