[clang] [llvm] [WPD] Support speculative devirtualization with LTO (PR #233380)

Vitaly Buka via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 13 18:56:10 PST 2026


================
@@ -273,7 +274,8 @@ LLVM_ABI void getVisibleToRegularObjVtableGUIDs(
 LLVM_ABI void runWholeProgramDevirtOnIndex(
     ModuleSummaryIndex &Summary, std::set<GlobalValue::GUID> &ExportedGUIDs,
     std::map<ValueInfo, std::vector<VTableSlotSummary>> &LocalWPDTargetsMap,
-    DenseSet<StringRef> *ExternallyVisibleSymbolNamesPtr = nullptr);
+    DenseSet<StringRef> *ExternallyVisibleSymbolNamesPtr = nullptr,
----------------
vitalybuka wrote:

do we realy need both default values?
Please make them explicit.

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


More information about the cfe-commits mailing list