about summary refs log tree commit diff homepage
path: root/lib/Core
diff options
context:
space:
mode:
authorMartin Nowack <martin.nowack@gmail.com>2016-08-04 15:43:11 +0200
committerMartin Nowack <martin@se.inf.tu-dresden.de>2016-08-10 21:22:06 +0200
commit95a39e0fe58c7b95588da97b3478eafba9920281 (patch)
treee473ca52e739805533b11b11820c251d0672bbb8 /lib/Core
parent66b3470f4d01df50bc77d9f96e3c526e8e4cbf91 (diff)
downloadklee-95a39e0fe58c7b95588da97b3478eafba9920281.tar.gz
Extended support for assembler raising
Improved support for assembler handling.
Providing additional triple information
to raise assembler for supported architectures
only.

Implemented support for raising full assembly
memory fence.

Added initial support for memory fences in Executor.
Diffstat (limited to 'lib/Core')
-rw-r--r--lib/Core/Executor.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/Core/Executor.cpp b/lib/Core/Executor.cpp
index d755403f..8b885527 100644
--- a/lib/Core/Executor.cpp
+++ b/lib/Core/Executor.cpp
@@ -2543,9 +2543,15 @@ void Executor::executeInstruction(ExecutionState &state, KInstruction *ki) {
     bindLocal(ki, state, result);
     break;
   }
- 
-    // Other instructions...
-    // Unhandled
+#if LLVM_VERSION_CODE >= LLVM_VERSION(3, 3)
+  case Instruction::Fence: {
+    // Ignore for now
+    break;
+  }
+#endif
+
+  // Other instructions...
+  // Unhandled
   case Instruction::ExtractElement:
   case Instruction::InsertElement:
   case Instruction::ShuffleVector: