[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 15 05:49:23 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:

This looks very unusable. Can you document this as a current-state-of-the-world test support flag? This probably should not exist 

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


More information about the cfe-commits mailing list