aboutsummaryrefslogtreecommitdiff
path: root/unittests/ExecutionEngine/MCJIT/SectionMemoryManager.cpp
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2012-11-30 17:06:02 +0000
committerAlexander Kornienko <alexfh@google.com>2012-11-30 17:06:02 +0000
commitccaf20cc53a3dc353f4786b1ebf4ebb3f81d4746 (patch)
tree526aace1ee6cd0126263e06eed2d23eae06d7d84 /unittests/ExecutionEngine/MCJIT/SectionMemoryManager.cpp
parent26c41c96df38631aa2bce1ff87acb31871111f83 (diff)
parent72a2c0622ab072030c9108badea50074d96bec6a (diff)
Updating branches/google/testing to r168474
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/google/testing@169005 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/ExecutionEngine/MCJIT/SectionMemoryManager.cpp')
-rw-r--r--unittests/ExecutionEngine/MCJIT/SectionMemoryManager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/unittests/ExecutionEngine/MCJIT/SectionMemoryManager.cpp b/unittests/ExecutionEngine/MCJIT/SectionMemoryManager.cpp
index d6baf3c9bb..225106ecab 100644
--- a/unittests/ExecutionEngine/MCJIT/SectionMemoryManager.cpp
+++ b/unittests/ExecutionEngine/MCJIT/SectionMemoryManager.cpp
@@ -32,7 +32,8 @@ namespace llvm {
uint8_t *SectionMemoryManager::allocateDataSection(uintptr_t Size,
unsigned Alignment,
- unsigned SectionID) {
+ unsigned SectionID,
+ bool IsReadOnly) {
if (!Alignment)
Alignment = 16;
// Ensure that enough memory is requested to allow aligning.