Quuxplusone / LLVMBugzillaTest

0 stars 0 forks source link

Debugging code generator crash #9165

Open Quuxplusone opened 13 years ago

Quuxplusone commented 13 years ago
Bugzilla Link PR8799
Status NEW
Importance P normal
Reported by vincef13@yahoo.com
Reported on 2010-12-17 00:04:47 -0800
Last modified on 2010-12-17 12:43:45 -0800
Version trunk
Hardware Macintosh MacOS X
CC llvm-bugs@lists.llvm.org
Fixed by commit(s)
Attachments vm.bc (344592 bytes, application/octet-stream)
Blocks
Blocked by
See also
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 869.
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
Quuxplusone commented 13 years ago

Attached vm.bc (344592 bytes, application/octet-stream): the original bitcode file