Bug#588708: Segfault on LLVM IR file

Sylvestre Ledru sylvestre at debian.org
Sun Feb 13 19:00:45 UTC 2011


forwarded 588708 http://llvm.org/bugs/show_bug.cgi?id=9207
thanks

Hello

To me, this bug is not fixed in the 2.8 release of llvm:
PHI node entries do not match predecessors!
  %init.index = phi i64 [ 0, %init.top ], [ %init.index.next, %
init.top ]
label %init.top
label %enter.good
Broken module found, compilation aborted!
0  libLLVM-2.8.so.1 0x00007f76a98b50df
1  libLLVM-2.8.so.1 0x00007f76a98b5b9a
2  libpthread.so.0  0x00007f76a8b8ef60
3  libc.so.6        0x00007f76a7ca5165 gsignal + 53
4  libc.so.6        0x00007f76a7ca7f70 abort + 384
5  libLLVM-2.8.so.1 0x00007f76a94dcb9f
6  libLLVM-2.8.so.1 0x00007f76a94bb5f9
llvm::FPPassManager::runOnFunction(llvm::Function&) + 521
7  libLLVM-2.8.so.1 0x00007f76a94bb6ab
llvm::FPPassManager::runOnModule(llvm::Module&) + 75
8  libLLVM-2.8.so.1 0x00007f76a94bb2c4
llvm::MPPassManager::runOnModule(llvm::Module&) + 468
9  libLLVM-2.8.so.1 0x00007f76a94bb3bb
llvm::PassManagerImpl::run(llvm::Module&) + 107
10 llc-2.8          0x0000000000407f2d main + 3981
11 libc.so.6        0x00007f76a7c91c4d __libc_start_main + 253
12 llc-2.8          0x0000000000406269
Stack dump:
0.	Program arguments: llc-2.8 testasm.ll -o testasm.s 
1.	Running pass 'Function Pass Manager' on module 'testasm.ll'.
2.	Running pass 'Module Verifier' on function '@enterLeave'
Abandon

I forwarded it upstream.

Sylvestre






More information about the Pkg-llvm-team mailing list