http://llvm.org/bugs/show_bug.cgi?id=6500

           Summary: lli -force-interpreter crash with asm inline
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Interpreter
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


$ cat test.ll 
; ModuleID = 'test.bc'
target datalayout =
"e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32-n8:16:32"
target triple = "i386-unknown-linux-gnu"

define i32 @main() nounwind {
entry:
  tail call void asm sideeffect "ff_mlp_firorder_0:",
"~{dirflag},~{fpsr},~{flags}"() nounwind
  ret i32 0
}

$ lli -force-interpreter test.bc
0  lli 0x086dfa58
Stack dump:
0.      Program arguments: lli -force-interpreter test.bc 
Segmentation fault

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to