[clang] [lld] [llvm] Compute GUIDs once and store in metadata (PR #184065)
Owen Rodley via cfe-commits
cfe-commits at lists.llvm.org
Sun May 10 20:45:59 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);
----------------
orodley wrote:
Done.
https://github.com/llvm/llvm-project/pull/184065
More information about the cfe-commits
mailing list