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