[LLVMbugs] [Bug 8799] New: Debugging code generator crash

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Dec 16 22:04:48 PST 2010


           Summary: Debugging code generator crash
           Product: tools
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: bugpoint
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: vincef13 at yahoo.com
                CC: llvmbugs at cs.uiuc.edu

While hunting down a bug in the llvm optimizer on darwin x86_64:

bugpoint -run-llc-ia vm.bc -Xlinker liball.a -Xlinker -lpthread -Xlinker -ldl
-Xlinker -lobjc -output=good.txt
Read input file      : 'vm.bc'
*** All input ok
Initializing execution environment: Found gcc: /usr/bin/gcc
Running the code generator to test for a crash: <llc-ia>

*** Checking the code generator...
<llc-ia><gcc><program>Abort trap*** Debugging code generator crash!

Checking to see if we can delete global inits: Assertion failed:
(BA->getFunction() == BA->getBasicBlock()->getParent() && "Malformed
blockaddress"), function WriteConstants, file
/Users/kuehnel/Downloads/llvm-latest/lib/Bitcode/Writer/BitcodeWriter.cpp, line
Stack dump:
0.    Program arguments: bugpoint -run-llc-ia vm.bc -Xlinker liball.a -Xlinker
-lpthread -Xlinker -ldl -Xlinker -lobjc -output=good.txt 
Illegal instruction

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