[LLVMbugs] [Bug 2429] New: unwind crashes lli

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Jun 10 23:43:14 PDT 2008


           Summary: unwind crashes lli
           Product: new-bugs
           Version: unspecified
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: viridia at gmail.com
                CC: llvmbugs at cs.uiuc.edu

The attached .bc file crashes lli unless -force-interpreter is used. It also
crashes when compiled to native code. (this is with the current svn head.)

Here's the IR:
; ModuleID = 'unwind'

define i32 @"tart.main()->i32"() {
        invoke void @"tart.foo()"( )
                        to label %nounwind unwind label %catch

  ret i32 0

        ret i32 1

define void @"tart.foo()"() {

define i32 @main(i32, i8**) {
        invoke i32 @"tart.main()->i32"()
                        to label %success unwind label %failure         ;
<i32>:2 [#uses=1]

success:                ; preds = %entry
        ret i32 %2

failure:                ; preds = %entry
        ret i32 -1

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.

More information about the llvm-bugs mailing list