aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/ProfileData/CoverageMappingTest.cpp
diff options
context:
space:
mode:
authorLawrence D'Anna <larry@elder-gods.org>2021-11-16 13:50:18 -0800
committerLawrence D'Anna <lawrence_danna@apple.com>2021-11-16 13:50:20 -0800
commit4c2cf3a314d9131b1b288e7c8ab0c75ac1b2be1d (patch)
tree204b684bb3e3adb769b447893bb130c21e5b5012 /llvm/unittests/ProfileData/CoverageMappingTest.cpp
parent913d78c40c37c9c3428285d868ce454b058e40f3 (diff)
downloadllvm-4c2cf3a314d9131b1b288e7c8ab0c75ac1b2be1d.zip
llvm-4c2cf3a314d9131b1b288e7c8ab0c75ac1b2be1d.tar.gz
llvm-4c2cf3a314d9131b1b288e7c8ab0c75ac1b2be1d.tar.bz2
[lldb] fix -print-script-interpreter-info on windows
Apparently "{sys.prefix}/bin/python3" isn't where you find the python interpreter on windows, so the test I wrote for -print-script-interpreter-info is failing. We can't rely on sys.executable at runtime, because that will point to lldb.exe not python.exe. We can't just record sys.executable from build time, because python could have been moved to a different location. But it should be OK to apply relative path from sys.prefix to sys.executable from build-time to the sys.prefix at runtime. Reviewed By: JDevlieghere Differential Revision: https://reviews.llvm.org/D113650
Diffstat (limited to 'llvm/unittests/ProfileData/CoverageMappingTest.cpp')
0 files changed, 0 insertions, 0 deletions