aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authorzero9178 <markus.boeck02@gmail.com>2021-02-23 22:34:27 +0100
committerzero9178 <markus.boeck02@gmail.com>2021-02-23 22:35:19 +0100
commit7f9d5d6e444c91ce6f2e377b312ac573dfc6779a (patch)
tree46db51e921677ecbd3f39d190ea57464e6730855 /llvm/lib/IR/Module.cpp
parent979ca1c05f83114483caec3e6d1b75daae86da79 (diff)
downloadllvm-7f9d5d6e444c91ce6f2e377b312ac573dfc6779a.zip
llvm-7f9d5d6e444c91ce6f2e377b312ac573dfc6779a.tar.gz
llvm-7f9d5d6e444c91ce6f2e377b312ac573dfc6779a.tar.bz2
[Driver][Windows] Support per-target runtimes dir layout for profile instr generate
When targeting a MSVC triple, --dependant-libs with the name of the clang runtime library for profiling is added to the command line args. In it's current implementations clang_rt.profile-<ARCH> is chosen as the name. When building a distribution using LLVM_ENABLE_PER_TARGET_RUNTIME_DIR this fails, due to the runtime file names not having an architecture suffix in the filename. This patch refactors getCompilerRT and getCompilerRTBasename to always consider per-target runtime directories. getCompilerRTBasename now simply returns the filename component of the path found by getCompilerRT Differential Revision: https://reviews.llvm.org/D96638
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions