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 286a203 commit 7fc744bCopy full SHA for 7fc744b
interpreter/cling/lib/Interpreter/IncrementalJIT.cpp
@@ -70,7 +70,7 @@ namespace {
70
}
71
};
72
73
- ClingMMapper MMapperInstance;
+ ClingMMapper* MMapperInstance = new ClingMMapper();
74
75
// A memory manager for Cling that reserves memory for code and data sections
76
// to keep them contiguous for the emission of one module. This is required
@@ -133,7 +133,7 @@ namespace {
133
AllocInfo m_RWData;
134
135
public:
136
- ClingMemoryManager() : Super(&MMapperInstance) {}
+ ClingMemoryManager() : Super(MMapperInstance) {}
137
138
uint8_t* allocateCodeSection(uintptr_t Size, unsigned Alignment,
139
unsigned SectionID,
0 commit comments