[clang] [llvm] Support VFE in thinLTO (PR #69735)

Teresa Johnson via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 6 18:20:04 PST 2023


================
@@ -1362,6 +1362,8 @@ class ModuleSummaryIndex {
   // Temporary map while building StackIds list. Clear when index is completely
   // built via releaseTemporaryMemory.
   std::map<uint64_t, unsigned> StackIdToIndex;
+  std::set<GlobalValue::GUID> FuncsWithNonVtableRef;
----------------
teresajohnson wrote:

Instead of sets of GUIDs, it would probably be more efficient to represent, and to access, to just add new function flags (FFlags in the FunctionSummary).

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


More information about the cfe-commits mailing list