Skip to content

Commit 0fedfb7

Browse files
committed
DLLExport LLVMContext
1 parent 19bad2a commit 0fedfb7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/include/llvm/IR/LLVMContext.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#include "llvm-c/Types.h"
1818
#include "llvm/IR/DiagnosticHandler.h"
1919
#include "llvm/Support/CBindingWrapping.h"
20+
#include "llvm/Support/Compiler.h"
2021
#include <cstdint>
2122
#include <memory>
2223
#include <optional>
@@ -64,7 +65,7 @@ enum {
6465
/// infrastructure, including the type and constant uniquing tables.
6566
/// LLVMContext itself provides no locking guarantees, so you should be careful
6667
/// to have one context per thread.
67-
class LLVMContext {
68+
class LLVM_ABI LLVMContext {
6869
public:
6970
LLVMContextImpl *const pImpl;
7071
LLVMContext();

0 commit comments

Comments
 (0)