From 97fb5ee604f429232c04187c8940a31856fc4934 Mon Sep 17 00:00:00 2001 From: Andrew Rogers Date: Wed, 19 Feb 2025 12:34:53 -0800 Subject: [PATCH] DLLExport InitLLVM --- llvm/include/llvm/Support/InitLLVM.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/llvm/include/llvm/Support/InitLLVM.h b/llvm/include/llvm/Support/InitLLVM.h index 172d13bf21a55..68a7cc58a753a 100644 --- a/llvm/include/llvm/Support/InitLLVM.h +++ b/llvm/include/llvm/Support/InitLLVM.h @@ -11,6 +11,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/Support/Allocator.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/PrettyStackTrace.h" #include @@ -32,7 +33,7 @@ // InitLLVM calls llvm_shutdown() on destruction, which cleans up // ManagedStatic objects. namespace llvm { -class InitLLVM { +class LLVM_ABI InitLLVM { public: InitLLVM(int &Argc, const char **&Argv, bool InstallPipeSignalExitHandler = true);