aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineModuleInfoImpls.cpp
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2021-04-28 22:36:47 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2021-07-09 20:41:53 +0000
commit9a9bc76c0eb72f0f2732c729a460abbd5239c2e3 (patch)
treea679488a1e846f27a0da1ac7817e147407d82a5f /llvm/lib/CodeGen/MachineModuleInfoImpls.cpp
parentd124133f17357536c4034cb2b2c0bec537cd8fd5 (diff)
downloadllvm-9a9bc76c0eb72f0f2732c729a460abbd5239c2e3.zip
llvm-9a9bc76c0eb72f0f2732c729a460abbd5239c2e3.tar.gz
llvm-9a9bc76c0eb72f0f2732c729a460abbd5239c2e3.tar.bz2
Prepare Compiler-RT for GnuInstallDirs, matching libcxx
Instead of using `COMPILER_RT_INSTALL_PATH` through the CMake for complier-rt, just use it to define variables for the subdirs which themselves are used. This preserves compatibility, but later on we might consider getting rid of `COMPILER_RT_INSTALL_PATH` and just changing the defaults for the subdir variables directly. --- There was a seaming bug where the (non-Apple) per-target libdir was `${target}` not `lib/${target}`. I suspect that has to do with the docs on `COMPILER_RT_INSTALL_PATH` saying was the library dir when that's no longer true, so I just went ahead and fixed it, allowing me to define fewer and more sensible variables. That last part should be the only behavior changes; everything else should be a pure refactoring. --- D99484 is the main thrust of the `GnuInstallDirs` work. Once this lands, it should be feasible to follow both of these up with a simple patch for compiler-rt analogous to the one for libcxx. Reviewed By: phosek Differential Revision: https://reviews.llvm.org/D101497
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfoImpls.cpp')
0 files changed, 0 insertions, 0 deletions