[llvm-branch-commits] [llvm] release/20.x: [OpenMP] Fix misspelled symbol name (#126120) (PR #126121)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Feb 6 12:24:17 PST 2025
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/126121
Backport b35749559ddd9b2d4e044ef71d13d888b8a3d8cb
Requested by: @jhuber6
>From 79c56250f674720d62e736bce76a9d6d9b23ed63 Mon Sep 17 00:00:00 2001
From: Joseph Huber <huberjn at outlook.com>
Date: Thu, 6 Feb 2025 14:13:43 -0600
Subject: [PATCH] [OpenMP] Fix misspelled symbol name (#126120)
Summary:
This is supposed to be `__llvm_rpc_client` but I screwed it up and
didn't notice at the time. Will need to be backported.
(cherry picked from commit b35749559ddd9b2d4e044ef71d13d888b8a3d8cb)
---
llvm/lib/Transforms/IPO/Internalize.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/lib/Transforms/IPO/Internalize.cpp b/llvm/lib/Transforms/IPO/Internalize.cpp
index f0270600aa26631..404102eef89fc2d 100644
--- a/llvm/lib/Transforms/IPO/Internalize.cpp
+++ b/llvm/lib/Transforms/IPO/Internalize.cpp
@@ -235,7 +235,7 @@ bool InternalizePass::internalizeModule(Module &M) {
// Preserve the RPC interface for GPU host callbacks when internalizing.
if (Triple(M.getTargetTriple()).isNVPTX())
- AlwaysPreserved.insert("__llvm_rpc_server");
+ AlwaysPreserved.insert("__llvm_rpc_client");
// Mark all functions not in the api as internal.
IsWasm = Triple(M.getTargetTriple()).isOSBinFormatWasm();
More information about the llvm-branch-commits
mailing list