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

make asm comment

parent 1a2d8c10
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ pub fn klee_assume(_cond: bool) {}
pub fn klee_make_symbolic<T>(t: &mut T) {
// force LLVM to consider data to be mutated
unsafe {
core::arch::asm!("bkpt #2", in(r1) t)
core::arch::asm!("bkpt #2" /* {0} */, in(reg) t)
}
// unsafe {
// llvm_asm!("bkpt #0" : /* output */: /* input */ "r"(t): /* clobber */ : "volatile")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment