summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/ExecutionEngine/MCJIT/MCJITTestBase.h
diff options
context:
space:
mode:
authorAndrew Kaylor <andrew.kaylor@intel.com>2012-11-27 19:42:02 +0000
committerAndrew Kaylor <andrew.kaylor@intel.com>2012-11-27 19:42:02 +0000
commitab5ba51a6e4699cb5592947807d6035c6ac53386 (patch)
treeb20eff1a24cf5d2901dddfb0f29f48a06436ddd2 /llvm/unittests/ExecutionEngine/MCJIT/MCJITTestBase.h
parent8594ae85d5134489b8ab904ed4dbc846a722d2be (diff)
downloadbcm5719-llvm-ab5ba51a6e4699cb5592947807d6035c6ac53386.tar.gz
bcm5719-llvm-ab5ba51a6e4699cb5592947807d6035c6ac53386.zip
Moving SectionMemoryManager into RuntimeDyld and adding unit tests for it.
The SectionMemoryManager now supports (and requires) applying section-specific page permissions. Clients using this memory manager must call either MCJIT::finalizeObject() or SectionMemoryManager::applyPermissions() before executing JITed code. See r168718 for changes from the previous implementation. llvm-svn: 168721
Diffstat (limited to 'llvm/unittests/ExecutionEngine/MCJIT/MCJITTestBase.h')
-rw-r--r--llvm/unittests/ExecutionEngine/MCJIT/MCJITTestBase.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/unittests/ExecutionEngine/MCJIT/MCJITTestBase.h b/llvm/unittests/ExecutionEngine/MCJIT/MCJITTestBase.h
index 9b4a4ac3cf0..e34074b2e0a 100644
--- a/llvm/unittests/ExecutionEngine/MCJIT/MCJITTestBase.h
+++ b/llvm/unittests/ExecutionEngine/MCJIT/MCJITTestBase.h
@@ -21,6 +21,7 @@
#include "llvm/ADT/SmallVector.h"
#include "llvm/Config/config.h"
#include "llvm/ExecutionEngine/ExecutionEngine.h"
+#include "llvm/ExecutionEngine/SectionMemoryManager.h"
#include "llvm/Function.h"
#include "llvm/IRBuilder.h"
#include "llvm/LLVMContext.h"
@@ -30,8 +31,6 @@
#include "llvm/Support/TargetSelect.h"
#include "llvm/TypeBuilder.h"
-#include "SectionMemoryManager.h"
-
// Used to skip tests on unsupported architectures and operating systems.
// To skip a test, add this macro at the top of a test-case in a suite that
// inherits from MCJITTestBase. See MCJITTest.cpp for examples.
OpenPOWER on IntegriCloud