[all-commits] [llvm/llvm-project] 8a8778: [CMake] Enable the use of -ffile-prefix-map
Petr Hosek via All-commits
all-commits at lists.llvm.org
Thu Mar 19 15:14:25 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 8a8778f25f1052343d23e38a2583fe023a162e12
https://github.com/llvm/llvm-project/commit/8a8778f25f1052343d23e38a2583fe023a162e12
Author: Petr Hosek <phosek at google.com>
Date: 2020-03-19 (Thu, 19 Mar 2020)
Changed paths:
M llvm/cmake/modules/HandleLLVMOptions.cmake
M llvm/cmake/modules/LLVMExternalProjectUtils.cmake
M llvm/docs/CMake.rst
Log Message:
-----------
[CMake] Enable the use of -ffile-prefix-map
This handles not paths embedded in debug info, but also in sources.
Since the use of this flag is controlled by an option, rather than
replacing the new option, we add a new option.
Differential Revision: https://reviews.llvm.org/D76018
Commit: 98223f7931f263a38435c51c026d7dcd9bf11a68
https://github.com/llvm/llvm-project/commit/98223f7931f263a38435c51c026d7dcd9bf11a68
Author: Petr Hosek <phosek at google.com>
Date: 2020-03-19 (Thu, 19 Mar 2020)
Changed paths:
M clang/cmake/caches/Fuchsia-stage2.cmake
Log Message:
-----------
[Fuchsia] Use -ffile-prefix-map
This makes toolchain independent of the path it was built in by
rewriting all absolute paths embedded in sources and debug info
into relative ones.
Differential Revision: https://reviews.llvm.org/D76189
Compare: https://github.com/llvm/llvm-project/compare/95b6f62efb14...98223f7931f2
More information about the All-commits
mailing list