[clang] [lld] [llvm] [LTO][LLD] Prevent invalid LTO libfunc transforms (PR #164916)
Daniel Thornburgh via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 13 16:48:16 PST 2026
================
@@ -365,7 +387,8 @@ static bool isEmptyModule(const Module &Mod) {
bool lto::opt(const Config &Conf, TargetMachine *TM, unsigned Task, Module &Mod,
bool IsThinLTO, ModuleSummaryIndex *ExportSummary,
const ModuleSummaryIndex *ImportSummary,
- const std::vector<uint8_t> &CmdArgs) {
+ const std::vector<uint8_t> &CmdArgs,
+ const SmallVector<StringRef> &BitcodeLibFuncs) {
----------------
mysterymath wrote:
Yep, it can! Thanks.
https://github.com/llvm/llvm-project/pull/164916
More information about the cfe-commits
mailing list