Home | History | Annotate | Download | only in MCJIT

Lines Matching refs:MemMgr

18   std::unique_ptr<SectionMemoryManager> MemMgr(new SectionMemoryManager());
20 uint8_t *code1 = MemMgr->allocateCodeSection(256, 0, 1, "");
21 uint8_t *data1 = MemMgr->allocateDataSection(256, 0, 2, "", true);
22 uint8_t *code2 = MemMgr->allocateCodeSection(256, 0, 3, "");
23 uint8_t *data2 = MemMgr->allocateDataSection(256, 0, 4, "", false);
47 EXPECT_FALSE(MemMgr->finalizeMemory(&Error));
51 std::unique_ptr<SectionMemoryManager> MemMgr(new SectionMemoryManager());
53 uint8_t *code1 = MemMgr->allocateCodeSection(0x100000, 0, 1, "");
54 uint8_t *data1 = MemMgr->allocateDataSection(0x100000, 0, 2, "", true);
55 uint8_t *code2 = MemMgr->allocateCodeSection(0x100000, 0, 3, "");
56 uint8_t *data2 = MemMgr->allocateDataSection(0x100000, 0, 4, "", false);
80 EXPECT_FALSE(MemMgr->finalizeMemory(&Error));
84 std::unique_ptr<SectionMemoryManager> MemMgr(new SectionMemoryManager());
92 code[i] = MemMgr->allocateCodeSection(32, 0, 1, "");
93 data[i] = MemMgr->allocateDataSection(32, 0, 2, "", isReadOnly);
115 EXPECT_FALSE(MemMgr->finalizeMemory(&Error));
119 std::unique_ptr<SectionMemoryManager> MemMgr(new SectionMemoryManager());
131 code[i] = MemMgr->allocateCodeSection(CodeSize, Align, i, "");
132 data[i] = MemMgr->allocateDataSection(DataSize, Align, i + 10000, "",