[llvm] [LTO] Introduce getSourceModules (NFC) (PR #105955)

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 26 09:37:57 PDT 2024


================
@@ -352,6 +352,16 @@ void FunctionImporter::ImportMapTy::maybeAddDeclaration(
   ImportMap[FromModule].try_emplace(GUID, GlobalValueSummary::Declaration);
 }
 
+SmallVector<StringRef, 0>
+FunctionImporter::ImportMapTy::getSourceModules() const {
+  SetVector<StringRef> ModuleSet;
----------------
teresajohnson wrote:

Thanks, and for the second part of my comment I misspoke - by noting the change in the comments I meant in the patch description.

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


More information about the llvm-commits mailing list