We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19bad2a commit 0fedfb7Copy full SHA for 0fedfb7
llvm/include/llvm/IR/LLVMContext.h
@@ -17,6 +17,7 @@
17
#include "llvm-c/Types.h"
18
#include "llvm/IR/DiagnosticHandler.h"
19
#include "llvm/Support/CBindingWrapping.h"
20
+#include "llvm/Support/Compiler.h"
21
#include <cstdint>
22
#include <memory>
23
#include <optional>
@@ -64,7 +65,7 @@ enum {
64
65
/// infrastructure, including the type and constant uniquing tables.
66
/// LLVMContext itself provides no locking guarantees, so you should be careful
67
/// to have one context per thread.
-class LLVMContext {
68
+class LLVM_ABI LLVMContext {
69
public:
70
LLVMContextImpl *const pImpl;
71
LLVMContext();
0 commit comments