[clang] [llvm] Compute GUIDs once and store in metadata (PR #184065)

Teresa Johnson via cfe-commits cfe-commits at lists.llvm.org
Fri May 1 12:17:02 PDT 2026


================
@@ -886,6 +887,12 @@ void llvm::updateVCallVisibilityInModule(
     function_ref<bool(StringRef)> IsVisibleToRegularObj) {
   if (!hasWholeProgramVisibility(WholeProgramVisibilityEnabledInLTO))
     return;
+
+  // Manually assign GUIDs -- updateVCallVisibilityInModule accesses GUIDs, and
+  // there's no way to specify it in the pass pipeline since this runs before
+  // any pass given on the command line.
+  AssignGUIDPass::runOnModule(M);
----------------
teresajohnson wrote:

ping on this one

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


More information about the cfe-commits mailing list