[llvm] [SandboxIR] Add missing export to symbol used in test (PR #225505)

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 22 12:54:02 PDT 2026


https://github.com/tstellar created https://github.com/llvm/llvm-project/pull/225505

None

>From f0861a4b1a0847d720b89ea48b6843a9b0442970 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Tue, 15 Sep 2026 19:12:53 +0000
Subject: [PATCH] [SandboxIR] Add missing export to symbol used in test

---
 llvm/lib/SandboxIR/Instruction.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/lib/SandboxIR/Instruction.cpp b/llvm/lib/SandboxIR/Instruction.cpp
index 80c27499f311ab..226ef9e55ce308 100644
--- a/llvm/lib/SandboxIR/Instruction.cpp
+++ b/llvm/lib/SandboxIR/Instruction.cpp
@@ -1164,7 +1164,7 @@ SwitchInst::CaseHandleImpl<LLVMCaseItT, BlockT, ConstT>::getCaseSuccessor()
   return cast<BlockT>(Ctx.getValue(LLVMBB));
 }
 
-template class SwitchInst::CaseHandleImpl<llvm::SwitchInst::CaseIt, BasicBlock,
+template class LLVM_ABI_FOR_TEST SwitchInst::CaseHandleImpl<llvm::SwitchInst::CaseIt, BasicBlock,
                                           ConstantInt>;
 template class SwitchInst::CaseItImpl<llvm::SwitchInst::CaseIt, BasicBlock,
                                       ConstantInt>;



More information about the llvm-commits mailing list