[LLVMbugs] [Bug 7894] New: indirectbr with JIT produces segfault

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Aug 14 16:08:31 PDT 2010


           Summary: indirectbr with JIT produces segfault
           Product: new-bugs
           Version: 2.7
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: flld0 at greynode.net
                CC: llvmbugs at cs.uiuc.edu

Created an attachment (id=5369)
 --> (http://llvm.org/bugs/attachment.cgi?id=5369)
Code sample which crashes JIT

Using indirectbr in JIT doesn't seem to work.
With the attached file
llvm-as bar.ll -o - | lli -
crashes with a segfault, but
llvm-as-bar.ll -o - | lli -force-interpreter=true -
succeeds (and returns the appropriate value).

Static compilation also seems to work.

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