[PATCH] D96931: [LTO] Discard non-prevailing defined symbols in module-level assembly
Yuanfang Chen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 8 15:24:08 PST 2021
ychen added inline comments.
================
Comment at: llvm/lib/LTO/LTO.cpp:746
+ std::string IA = M.getModuleInlineAsm();
+ for (bool Changed = true; Changed;) {
+ std::string PrevIA = IA;
----------------
This should be able to handle more than one discarded symbols. Verified fixing https://github.com/ClangBuiltLinux/linux/issues/1269
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D96931/new/
https://reviews.llvm.org/D96931
More information about the llvm-commits
mailing list