summaryrefslogtreecommitdiff
path: root/unittests/ExecutionEngine/JIT
diff options
context:
space:
mode:
authorDavid Tweed <david.tweed@arm.com>2013-05-17 10:01:46 +0000
committerDavid Tweed <david.tweed@arm.com>2013-05-17 10:01:46 +0000
commitabb38fe8dec11b1ea7535f84fac8ad0f0af70add (patch)
tree14d65d4e61acb9acb731e953ae5ff714ca1a9c7f /unittests/ExecutionEngine/JIT
parente91967820879b79f95b0378124c5f40d9e6d54ee (diff)
downloadllvm-abb38fe8dec11b1ea7535f84fac8ad0f0af70add.tar.gz
llvm-abb38fe8dec11b1ea7535f84fac8ad0f0af70add.tar.bz2
llvm-abb38fe8dec11b1ea7535f84fac8ad0f0af70add.tar.xz
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
Diffstat (limited to 'unittests/ExecutionEngine/JIT')
-rw-r--r--unittests/ExecutionEngine/JIT/JITTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/ExecutionEngine/JIT/JITTest.cpp b/unittests/ExecutionEngine/JIT/JITTest.cpp
index cf995aac7a..f8d9da2755 100644
--- a/unittests/ExecutionEngine/JIT/JITTest.cpp
+++ b/unittests/ExecutionEngine/JIT/JITTest.cpp
@@ -127,7 +127,7 @@ public:
unsigned SectionID) {
return Base->allocateCodeSection(Size, Alignment, SectionID);
}
- virtual bool applyPermissions(std::string *ErrMsg) { return false; }
+ virtual bool finalizeMemory(std::string *ErrMsg) { return false; }
virtual uint8_t *allocateSpace(intptr_t Size, unsigned Alignment) {
return Base->allocateSpace(Size, Alignment);
}