llvm-project/compiler-rt/cmake
Bob Haarman 1012fe8a54 [compiler-rt] build compiler-rt runtimes without LTO
Summary: Currently, we build the compiler-rt runtimes with link-time optimization if LTO is configured for the LLVM project. This will break external programs that don't invoke the linker in such a way that it supports LLVM's LTO. To avoid this, this change causes the compiler-rt runtimes to be compiled with -fno-lto. This also makes the check-profile tests work on systems when doing a lld LTO build on a system where the system linker does not support LLVM LTO.

Reviewers: rnk, davidxl

Reviewed By: davidxl

Subscribers: dberris, mgorny, llvm-commits, mehdi_amini

Differential Revision: https://reviews.llvm.org/D31218

llvm-svn: 298525
2017-03-22 17:25:49 +00:00
..
Modules [compiler-rt] build compiler-rt runtimes without LTO 2017-03-22 17:25:49 +00:00
caches [CMake] Updating Apple CMake cache file 2016-04-28 18:24:29 +00:00
base-config-ix.cmake [Builtin] [ARM] Update CMake to support the build of armv6m 2017-01-19 18:46:11 +00:00
builtin-config-ix.cmake [Builtin] [ARM] Update CMake to support the build of armv6m 2017-01-19 18:46:11 +00:00
config-ix.cmake Enable PROFILE, TSAN and UBSAN for Android 2017-02-18 01:12:55 +00:00