Skip to content

Commit 97fb5ee

Browse files
committed
DLLExport InitLLVM
1 parent 0fe0968 commit 97fb5ee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/include/llvm/Support/InitLLVM.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
#include "llvm/ADT/SmallVector.h"
1313
#include "llvm/Support/Allocator.h"
14+
#include "llvm/Support/Compiler.h"
1415
#include "llvm/Support/PrettyStackTrace.h"
1516
#include <optional>
1617

@@ -32,7 +33,7 @@
3233
// InitLLVM calls llvm_shutdown() on destruction, which cleans up
3334
// ManagedStatic objects.
3435
namespace llvm {
35-
class InitLLVM {
36+
class LLVM_ABI InitLLVM {
3637
public:
3738
InitLLVM(int &Argc, const char **&Argv,
3839
bool InstallPipeSignalExitHandler = true);

0 commit comments

Comments
 (0)