[clang] [lld] [llvm] [LTO][LLD] Prevent invalid LTO libfunc transforms (PR #164916)

Daniel Thornburgh via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 15 11:19:14 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"));
----------------
mysterymath wrote:

Could you provide a bit more detail about your objection? My mental model was that some of these flags were a way of communicating information that the linker would provide to LTO. This is new collection of such information; is there an obviously better way to communicate it that I'm missing?

https://github.com/llvm/llvm-project/pull/164916


More information about the cfe-commits mailing list