mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Minor changes to the MCJITTest unittests to use the correct API for finalizing
the JIT object (including XFAIL an ARM test that now needs fixing). Also renames internal function for consistency. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182085 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -46,7 +46,7 @@ TEST(MCJITMemoryManagerTest, BasicAllocations) {
|
||||
}
|
||||
|
||||
std::string Error;
|
||||
EXPECT_FALSE(MemMgr->applyPermissions(&Error));
|
||||
EXPECT_FALSE(MemMgr->finalizeMemory(&Error));
|
||||
}
|
||||
|
||||
TEST(MCJITMemoryManagerTest, LargeAllocations) {
|
||||
@@ -79,7 +79,7 @@ TEST(MCJITMemoryManagerTest, LargeAllocations) {
|
||||
}
|
||||
|
||||
std::string Error;
|
||||
EXPECT_FALSE(MemMgr->applyPermissions(&Error));
|
||||
EXPECT_FALSE(MemMgr->finalizeMemory(&Error));
|
||||
}
|
||||
|
||||
TEST(MCJITMemoryManagerTest, ManyAllocations) {
|
||||
@@ -114,7 +114,7 @@ TEST(MCJITMemoryManagerTest, ManyAllocations) {
|
||||
}
|
||||
|
||||
std::string Error;
|
||||
EXPECT_FALSE(MemMgr->applyPermissions(&Error));
|
||||
EXPECT_FALSE(MemMgr->finalizeMemory(&Error));
|
||||
}
|
||||
|
||||
TEST(MCJITMemoryManagerTest, ManyVariedAllocations) {
|
||||
|
Reference in New Issue
Block a user