about summary refs log tree commit diff homepage
path: root/lib/Core/MemoryManager.h
diff options
context:
space:
mode:
authorCristian Cadar <c.cadar@imperial.ac.uk>2017-02-28 16:15:27 +0000
committerGitHub <noreply@github.com>2017-02-28 16:15:27 +0000
commite21bf6f653b9c602fe21b74ff7c389aa2430b386 (patch)
tree02b0c15d4c53e885941d2119b272a6e8e83cab16 /lib/Core/MemoryManager.h
parentbff9fb9277f890f2fd9b4acd3b9d5eed0e78f967 (diff)
parent479f8068a769885e0fb50bf37f886ef839e63609 (diff)
downloadklee-e21bf6f653b9c602fe21b74ff7c389aa2430b386.tar.gz
Merge pull request #547 from delcypher/fix_alignment_of_alloc_memory
Teach KLEE to respect the requested memory alignment of allocated memory
Diffstat (limited to 'lib/Core/MemoryManager.h')
-rw-r--r--lib/Core/MemoryManager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Core/MemoryManager.h b/lib/Core/MemoryManager.h
index fc77b476..cc2073d8 100644
--- a/lib/Core/MemoryManager.h
+++ b/lib/Core/MemoryManager.h
@@ -40,7 +40,7 @@ public:
    * memory.
    */
   MemoryObject *allocate(uint64_t size, bool isLocal, bool isGlobal,
-                         const llvm::Value *allocSite, size_t alignment = 8);
+                         const llvm::Value *allocSite, size_t alignment);
   MemoryObject *allocateFixed(uint64_t address, uint64_t size,
                               const llvm::Value *allocSite);
   void deallocate(const MemoryObject *mo);