[llvm] [CycleInfo] Add missing exports to symbols used in tests (PR #225737)
Tom Stellard via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 23 04:52:52 PDT 2026
https://github.com/tstellar created https://github.com/llvm/llvm-project/pull/225737
None
>From 340d27c69fe2b136b41e7630e9ad47409f2f9daf Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Tue, 15 Sep 2026 19:12:46 +0000
Subject: [PATCH] [CycleInfo] Add missing exports to symbols used in tests
---
llvm/lib/CodeGen/MachineCycleAnalysis.cpp | 2 +-
llvm/lib/IR/CycleInfo.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/llvm/lib/CodeGen/MachineCycleAnalysis.cpp b/llvm/lib/CodeGen/MachineCycleAnalysis.cpp
index 21570d533b7040..e1b7401fa6499c 100644
--- a/llvm/lib/CodeGen/MachineCycleAnalysis.cpp
+++ b/llvm/lib/CodeGen/MachineCycleAnalysis.cpp
@@ -16,7 +16,7 @@
using namespace llvm;
-template class llvm::GenericCycleInfo<llvm::MachineSSAContext>;
+template class LLVM_ABI_FOR_TEST llvm::GenericCycleInfo<llvm::MachineSSAContext>;
char MachineCycleInfoWrapperPass::ID = 0;
diff --git a/llvm/lib/IR/CycleInfo.cpp b/llvm/lib/IR/CycleInfo.cpp
index 5353a303cb1551..acfe2802fb2227 100644
--- a/llvm/lib/IR/CycleInfo.cpp
+++ b/llvm/lib/IR/CycleInfo.cpp
@@ -12,4 +12,4 @@
using namespace llvm;
-template class llvm::GenericCycleInfo<SSAContext>;
+template class LLVM_ABI_FOR_TEST llvm::GenericCycleInfo<SSAContext>;
More information about the llvm-commits
mailing list