[LLVMbugs] [Bug 2770] New: crash with -relocation-model=pic

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Sep 5 06:14:38 PDT 2008


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

           Summary: crash with -relocation-model=pic
           Product: tools
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: llc
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: rafael.espindola at gmail.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=1994)
 --> (http://llvm.org/bugs/attachment.cgi?id=1994)
test

llvm-as test.ll -o - | llc -relocation-model=pic
llc: /usr/local/espindola/llvm/llvm/lib/CodeGen/LiveVariables.cpp:129: void
llvm::LiveVariables::HandleVirtRegUse(unsigned int, llvm::MachineBasicBlock*,
llvm::MachineInstr*): Assertion `MRI->getVRegDef(reg) && "Register use before
def!"' failed.
llc[0xf8f7a8]
llc[0xf8f8ca]
/lib/libc.so.6[0x7f3bfb339100]
/lib/libc.so.6(gsignal+0x35)[0x7f3bfb339095]
/lib/libc.so.6(abort+0x110)[0x7f3bfb33aaf0]
/lib/libc.so.6(__assert_fail+0xef)[0x7f3bfb3322df]
llc(_ZN4llvm13LiveVariables16HandleVirtRegUseEjPNS_17MachineBasicBlockEPNS_12MachineInstrE+0xd5)[0xd5e60f]
llc(_ZN4llvm13LiveVariables20runOnMachineFunctionERNS_15MachineFunctionE+0x611)[0xd5fc85]
llc(_ZN4llvm19MachineFunctionPass13runOnFunctionERNS_8FunctionE+0x31)[0x845b51]
llc(_ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE+0xef)[0xf1e297]
llc(_ZN4llvm23FunctionPassManagerImpl3runERNS_8FunctionE+0x74)[0xf1e816]
llc(_ZN4llvm19FunctionPassManager3runERNS_8FunctionE+0x80)[0xf1e974]
llc(main+0x90f)[0x7e2b1b]
/lib/libc.so.6(__libc_start_main+0xf4)[0x7f3bfb3251c4]
llc(atan+0xe9)[0x7e1269]
Aborted


-- 
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