[PATCH] D31218: [compiler-rt] build compiler-rt runtimes without LTO

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 21 15:34:14 PDT 2017


rnk added a comment.

I agree with this in principle. The high-level LLVM_ENABLE_LTO flag shouldn't affect compiler-rt. We should have a different way of getting compiler-rt bitcode libraries if we want them.

Are you sure it's best to do `-flto=thin/full -fno-lto` instead of filtering out `-flto[^ ]*`?


https://reviews.llvm.org/D31218





More information about the llvm-commits mailing list