[PATCH] D65009: [LTO] Don't mark regular LTO units with EnableSplitLTOUnit
Peter Collingbourne via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 19 13:26:48 PDT 2019
pcc added a comment.
Sorry, just realized this. If I do
clang++ -c -flto a.cpp # "split"
clang++ -c -flto=thin b.cpp -fwhole-program-vtables # non-split
clang++ a.o b.o
this should fail, right? If I'm not mistaken, this patch series will cause this to succeed. I think we need to change this patch so that it always sets `EnableSplitLTOUnit` to 1 for regular LTO, then you can drop the other patch.
CHANGES SINCE LAST ACTION
More information about the cfe-commits