From 0fedfb71d81aeb20fe5449bc8b720857473ea86a Mon Sep 17 00:00:00 2001 From: Andrew Rogers Date: Wed, 19 Feb 2025 16:15:37 -0800 Subject: [PATCH] DLLExport LLVMContext --- llvm/include/llvm/IR/LLVMContext.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/llvm/include/llvm/IR/LLVMContext.h b/llvm/include/llvm/IR/LLVMContext.h index bbd125fd38cf1..79d5f73481842 100644 --- a/llvm/include/llvm/IR/LLVMContext.h +++ b/llvm/include/llvm/IR/LLVMContext.h @@ -17,6 +17,7 @@ #include "llvm-c/Types.h" #include "llvm/IR/DiagnosticHandler.h" #include "llvm/Support/CBindingWrapping.h" +#include "llvm/Support/Compiler.h" #include #include #include @@ -64,7 +65,7 @@ enum { /// infrastructure, including the type and constant uniquing tables. /// LLVMContext itself provides no locking guarantees, so you should be careful /// to have one context per thread. -class LLVMContext { +class LLVM_ABI LLVMContext { public: LLVMContextImpl *const pImpl; LLVMContext();