1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/cmake/modules
Petr Hosek 635759ce04 [CMake] Provide an option to use relative paths in debug info
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
2019-05-31 01:34:51 +00:00
..
AddLLVM.cmake Support codesigning bundles and forcing 2019-05-30 22:25:48 +00:00
AddLLVMDefinitions.cmake
AddOCaml.cmake
AddSphinxTarget.cmake
CheckAtomic.cmake
CheckCompilerVersion.cmake [cmake] Fix error message on simulated VS version check 2019-04-30 12:37:10 +00:00
CheckLinkerFlag.cmake
ChooseMSVCCRT.cmake Revert r361826, as it still breaks LLDB. 2019-05-28 15:04:39 +00:00
CMakeLists.txt [llvm] [cmake] Provide split include paths in LLVMConfig 2019-02-13 08:34:40 +00:00
CrossCompile.cmake [cmake] Fix bug in r358779 - [CMake] Pass monorepo build settings in cross compile 2019-04-21 19:20:13 +00:00
DetermineGCCCompatible.cmake
FindLibpfm.cmake
FindOCaml.cmake
FindSphinx.cmake
FindZ3.cmake Moved everything SMT-related to LLVM and updated the cmake scripts. 2019-03-25 17:47:45 +00:00
GenerateVersionFromVCS.cmake [llvm] [cmake] Use current directory in GenerateVersionFromVCS 2019-02-11 09:07:07 +00:00
GetHostTriple.cmake Use AIX version detection at LLVM run-time 2019-03-13 00:12:43 +00:00
HandleLLVMOptions.cmake [CMake] Provide an option to use relative paths in debug info 2019-05-31 01:34:51 +00:00
HandleLLVMStdlib.cmake Add libc++ to link XRay test cases if libc++ is used to build CLANG 2019-05-06 17:45:21 +00:00
LLVM-Config.cmake Fix BUILD_SHARED_LIBS builds after r361567 2019-05-24 02:15:27 +00:00
LLVMConfig.cmake.in Moved everything SMT-related to LLVM and updated the cmake scripts. 2019-03-25 17:47:45 +00:00
LLVMConfigVersion.cmake.in
LLVMExternalProjectUtils.cmake [CMake] Provide an option to use relative paths in debug info 2019-05-31 01:34:51 +00:00
LLVMInstallSymlink.cmake
LLVMProcessSources.cmake [llvm] [cmake] Add additional headers only if they exist 2019-04-04 14:21:38 +00:00
TableGen.cmake Removed CMake cache upgrade code from 2011 2019-04-16 09:46:02 +00:00
VersionFromVCS.cmake [CMake] Unify scripts for generating VCS headers 2019-02-06 03:51:00 +00:00