mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
635759ce04
CMake always uses absolute file paths in the generated compiler invocation which results in absolute file paths being embedded in debug info. This is undesirable when building a toolchain e.g. on bots as the debug info may embed the bot source checkout path which is meaningless anywhere else. This change introduces the LLVM_USE_RELATIVE_PATHS_IN_DEBUG_INFO which uses -fdebug-prefix-map (where supported) options to rewrite paths embedded into debug info with relative ones. Additionally, LLVM_SOURCE_PREFIX can be used to override the path to source directory with a different one. Differential Revision: https://reviews.llvm.org/D62622 llvm-svn: 362185 |
||
---|---|---|
.. | ||
AddLLVM.cmake | ||
AddLLVMDefinitions.cmake | ||
AddOCaml.cmake | ||
AddSphinxTarget.cmake | ||
CheckAtomic.cmake | ||
CheckCompilerVersion.cmake | ||
CheckLinkerFlag.cmake | ||
ChooseMSVCCRT.cmake | ||
CMakeLists.txt | ||
CrossCompile.cmake | ||
DetermineGCCCompatible.cmake | ||
FindLibpfm.cmake | ||
FindOCaml.cmake | ||
FindSphinx.cmake | ||
FindZ3.cmake | ||
GenerateVersionFromVCS.cmake | ||
GetHostTriple.cmake | ||
HandleLLVMOptions.cmake | ||
HandleLLVMStdlib.cmake | ||
LLVM-Config.cmake | ||
LLVMConfig.cmake.in | ||
LLVMConfigVersion.cmake.in | ||
LLVMExternalProjectUtils.cmake | ||
LLVMInstallSymlink.cmake | ||
LLVMProcessSources.cmake | ||
TableGen.cmake | ||
VersionFromVCS.cmake |