[llvm-branch-commits] [llvm] 0bc2eb7 - [OpenMP] Fix misspelled symbol name (#126120)

Tom Stellard via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Feb 25 08:10:35 PST 2025


Author: Joseph Huber
Date: 2025-02-25T08:09:47-08:00
New Revision: 0bc2eb7458dcd763d063a58fb3ee9626bde8eae8

URL: https://github.com/llvm/llvm-project/commit/0bc2eb7458dcd763d063a58fb3ee9626bde8eae8
DIFF: https://github.com/llvm/llvm-project/commit/0bc2eb7458dcd763d063a58fb3ee9626bde8eae8.diff

LOG: [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)

Added: 
    

Modified: 
    llvm/lib/Transforms/IPO/Internalize.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/IPO/Internalize.cpp b/llvm/lib/Transforms/IPO/Internalize.cpp
index f0270600aa266..404102eef89fc 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