[clang] [llvm] [ThinLTO] Support dead RTTI data elimination under -fno-split-lto-unit (PR #126336)
Teresa Johnson via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 12 11:01:52 PST 2025
================
@@ -1187,8 +1191,10 @@ Error LTO::run(AddStreamFn AddStream, FileCache Cache) {
return PrevailingType::Unknown;
return It->second;
};
- computeDeadSymbolsWithConstProp(ThinLTO.CombinedIndex, GUIDPreservedSymbols,
- isPrevailing, Conf.OptLevel > 0);
+
+ if (!RegularLTO.ModsWithSummaries.empty())
----------------
teresajohnson wrote:
Add comment about new condition
https://github.com/llvm/llvm-project/pull/126336
More information about the cfe-commits
mailing list