Lines Matching refs:TheJIT
32 EXPECT_NE(0, TheJIT->getObjectImage())
35 TheJIT->addModule(createEmptyModule("<other module>"));
36 TheJIT->addModule(createEmptyModule("<other other module>"));
39 EXPECT_NE(0, TheJIT->getObjectImage())
75 EXPECT_NE(0, TheJIT->getObjectImage())
78 TheJIT->addModule(createEmptyModule("<other module>"));
79 TheJIT->addModule(createEmptyModule("<other other module>"));
82 EXPECT_NE(0, TheJIT->getObjectImage())
98 TheJIT->addModule(std::move(B));
100 uint64_t ptr = TheJIT->getFunctionAddress(FA->getName().str());
103 ptr = TheJIT->getFunctionAddress(FB->getName().str());
118 TheJIT->addModule(std::move(B));
120 uint64_t ptr = TheJIT->getFunctionAddress(FB->getName().str());
121 TheJIT->finalizeObject();
124 ptr = TheJIT->getFunctionAddress(FA->getName().str());
139 TheJIT->addModule(std::move(B));
141 uint64_t ptr = TheJIT->getFunctionAddress(FB->getName().str());
142 TheJIT->finalizeObject();
145 ptr = TheJIT->getFunctionAddress(FA->getName().str());
160 TheJIT->addModule(std::move(B));
162 uint64_t ptr = TheJIT->getFunctionAddress(FA->getName().str());
165 ptr = TheJIT->getFunctionAddress(FB->getName().str());
181 TheJIT->addModule(std::move(B));
183 uint64_t ptr = TheJIT->getFunctionAddress(FB->getName().str());
184 TheJIT->finalizeObject();
187 ptr = TheJIT->getFunctionAddress(FA2->getName().str());
221 TheJIT->addModule(std::move(B));
223 EXPECT_EQ(GVA, TheJIT->FindGlobalVariableNamed("GVA"));
224 EXPECT_EQ(GVB, TheJIT->FindGlobalVariableNamed("GVB"));
225 EXPECT_EQ(GVC, TheJIT->FindGlobalVariableNamed("GVC",true));
226 EXPECT_EQ(nullptr, TheJIT->FindGlobalVariableNamed("GVC"));
228 uint64_t FBPtr = TheJIT->getFunctionAddress(FB->getName().str());
229 TheJIT->finalizeObject();
235 uint64_t FAPtr = TheJIT->getFunctionAddress(FA->getName().str());
254 TheJIT->addModule(std::move(B));
255 TheJIT->addModule(std::move(C));
257 uint64_t ptr = TheJIT->getFunctionAddress(FC->getName().str());
260 ptr = TheJIT->getFunctionAddress(FB->getName().str());
263 ptr = TheJIT->getFunctionAddress(FA->getName().str());
279 TheJIT->addModule(std::move(B));
280 TheJIT->addModule(std::move(C));
282 uint64_t ptr = TheJIT->getFunctionAddress(FA->getName().str());
285 ptr = TheJIT->getFunctionAddress(FB->getName().str());
288 ptr = TheJIT->getFunctionAddress(FC->getName().str());
304 TheJIT->addModule(std::move(B));
305 TheJIT->addModule(std::move(C));
307 uint64_t ptr = TheJIT->getFunctionAddress(FC->getName().str());
310 ptr = TheJIT->getFunctionAddress(FB->getName().str());
313 ptr = TheJIT->getFunctionAddress(FA->getName().str());
329 TheJIT->addModule(std::move(B));
330 TheJIT->addModule(std::move(C));
332 uint64_t ptr = TheJIT->getFunctionAddress(FA->getName().str());
335 ptr = TheJIT->getFunctionAddress(FB->getName().str());
338 ptr = TheJIT->getFunctionAddress(FC->getName().str());
354 TheJIT->addModule(std::move(B));
356 uint64_t ptr = TheJIT->getFunctionAddress(FA->getName().str());
359 ptr = TheJIT->getFunctionAddress(FB1->getName().str());
375 TheJIT->addModule(std::move(B));
377 uint64_t ptr = TheJIT->getFunctionAddress(FB1->getName().str());
380 ptr = TheJIT->getFunctionAddress(FA->getName().str());
396 TheJIT->addModule(std::move(B));
398 uint64_t ptr = TheJIT->getFunctionAddress(FB1->getName().str());
401 ptr = TheJIT->getFunctionAddress(FB2->getName().str());
417 TheJIT->addModule(std::move(B));
419 EXPECT_EQ(FA, TheJIT->FindFunctionNamed(FA->getName().data()));
420 EXPECT_EQ(FB1, TheJIT->FindFunctionNamed(FB1->getName().data()));