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

via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 23 16:55:07 PDT 2026


Author: Tom Stellard
Date: 2026-09-23T16:55:00-07:00
New Revision: 77d48460414a9abc0743af84e6fc8c488b90ae55

URL: https://github.com/llvm/llvm-project/commit/77d48460414a9abc0743af84e6fc8c488b90ae55
DIFF: https://github.com/llvm/llvm-project/commit/77d48460414a9abc0743af84e6fc8c488b90ae55.diff

LOG: [SandboxIR] Add missing export to symbol used in test (#225505)

Added: 
    

Modified: 
    llvm/lib/SandboxIR/Instruction.cpp

Removed: 
    


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


        


More information about the llvm-commits mailing list