Description
Bugzilla Link | 8799 |
Version | trunk |
OS | MacOS X |
Attachments | the original bitcode file |
Reporter | LLVM Bugzilla Contributor |
Extended Description
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:
*** Checking the code generator...
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