reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

unittests/ExecutionEngine/MCJIT/MCJITMemoryManagerTest.cpp
   88   for (unsigned i = 0; i < 10000; ++i) {
   88   for (unsigned i = 0; i < 10000; ++i) {
   89     const bool isReadOnly = i % 2 == 0;
   91     code[i] = MemMgr->allocateCodeSection(32, 0, 1, "");
   92     data[i] = MemMgr->allocateDataSection(32, 0, 2, "", isReadOnly);
   95       code[i][j] = 1 + (i % 254);
   95       code[i][j] = 1 + (i % 254);
   96       data[i][j] = 2 + (i % 254);
   96       data[i][j] = 2 + (i % 254);
   99     EXPECT_NE((uint8_t *)nullptr, code[i]);
  100     EXPECT_NE((uint8_t *)nullptr, data[i]);