[llvm] [Clang] Prevent `mlink-builtin-bitcode` from internalizing the RPC client (PR #118661)
Joseph Huber via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 27 10:57:35 PST 2025
================
@@ -233,6 +233,10 @@ bool InternalizePass::internalizeModule(Module &M) {
else
AlwaysPreserved.insert("__stack_chk_guard");
+ // Preserve the RPC interface for GPU host callbacks when internalizing.
----------------
jhuber6 wrote:
That's what a previous version of this was, but I don't think it's correct in every case. The ideal solution would just be to remove the `-mlink-builtin-bitcode` option entirely.
https://github.com/llvm/llvm-project/pull/118661
More information about the llvm-commits
mailing list