[PATCH] D34156: [LTO] Enable module summary emission by default for regular LTO

Tobias Edler von Koch via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 15 13:07:53 PDT 2017


tobiasvk added a comment.

In https://reviews.llvm.org/D34156#781415, @pcc wrote:

> Please confirm that we can still self host with full LTO now that https://reviews.llvm.org/D33922 has landed.


Good point. And the answer seems to be no :/

  ld.lld: .../llvm/lib/Linker/IRMover.cpp:242: llvm::Type *(anonymous namespace)::TypeMapTy::get(llvm::Type *, SmallPtrSet<llvm::StructType *, 8> &): Assertion `!(Pair.first != Ty && Pair.second == Ty) && "mapping to a source type"' failed.

This is with `cmake -DCLANG_ENABLE_BOOTSTRAP=1-DBOOTSTRAP_LLVM_ENABLE_LLD=1-DBOOTSTRAP_LLVM_ENABLE_LTO=1 (...) && ninja stage2`.


https://reviews.llvm.org/D34156





More information about the cfe-commits mailing list