Skip to content
Snippets Groups Projects
Commit 0ee83922 authored by Carl Österberg's avatar Carl Österberg
Browse files

change from llvm_asm! to asm!

parent e1c7e410
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@
//! TODO: better documentation (as always)
#![no_std]
#![cfg_attr(feature = "inline-asm", feature(llvm_asm))]
//#![cfg_attr(feature = "inline-asm", feature(llvm_asm))]
// re-exports for klee-analysis
#[cfg(feature = "klee-analysis")]
......
......@@ -8,10 +8,8 @@ pub fn klee_assume(_cond: bool) {}
#[inline(always)]
pub fn klee_make_symbolic<T>(t: &mut T) {
// force LLVM to consider data to be mutated
unsafe {
core::arch::asm!("bkpt #3")
}
}
/// terminates path
#[macro_export]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment