[clang] [lld] [llvm] [LTO][LLD] Prevent invalid LTO libfunc transforms (PR #164916)
Matt Arsenault via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 22 11:46:18 PST 2026
================
@@ -234,6 +234,10 @@ static cl::opt<bool>
AllVtablesHaveTypeInfos("all-vtables-have-type-infos", cl::Hidden,
cl::desc("All vtables have type infos"));
+static cl::list<std::string>
+ BitcodeLibFuncs("bitcode-libfuncs", cl::Hidden,
+ cl::desc("set of libfuncs implemented in bitcode"));
----------------
arsenm wrote:
I've been thinking this should be a module flag, and we should have some scheme to indicate groups of functions from particular libraries, plus individual functions. Having to list every single symbol sounds unwieldy
https://github.com/llvm/llvm-project/pull/164916
More information about the cfe-commits
mailing list