diff options
author | David Tweed <david.tweed@arm.com> | 2013-05-17 10:01:46 +0000 |
---|---|---|
committer | David Tweed <david.tweed@arm.com> | 2013-05-17 10:01:46 +0000 |
commit | 2e7efedd39bcafb2b6c22557b9eccd5243f1cc1c (patch) | |
tree | 38315153dd4a02300d8f4e1069ca6ede714680ba /llvm/lib/ExecutionEngine/MCJIT/SectionMemoryManager.cpp | |
parent | b7be72df5bb3d06be9d5315f74d5c83909f6c5ae (diff) | |
download | bcm5719-llvm-2e7efedd39bcafb2b6c22557b9eccd5243f1cc1c.tar.gz bcm5719-llvm-2e7efedd39bcafb2b6c22557b9eccd5243f1cc1c.zip |
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.
llvm-svn: 182085
Diffstat (limited to 'llvm/lib/ExecutionEngine/MCJIT/SectionMemoryManager.cpp')
-rw-r--r-- | llvm/lib/ExecutionEngine/MCJIT/SectionMemoryManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/MCJIT/SectionMemoryManager.cpp b/llvm/lib/ExecutionEngine/MCJIT/SectionMemoryManager.cpp index bac77ce75f4..1bb0103f08e 100644 --- a/llvm/lib/ExecutionEngine/MCJIT/SectionMemoryManager.cpp +++ b/llvm/lib/ExecutionEngine/MCJIT/SectionMemoryManager.cpp @@ -111,7 +111,7 @@ uint8_t *SectionMemoryManager::allocateSection(MemoryGroup &MemGroup, return (uint8_t*)Addr; } -bool SectionMemoryManager::applyPermissions(std::string *ErrMsg) +bool SectionMemoryManager::finalizeMemory(std::string *ErrMsg) { // FIXME: Should in-progress permissions be reverted if an error occurs? error_code ec; |