[LLVMbugs] [Bug 9207] New: A LLVM IR file that causes a segfault in llc
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Feb 13 10:56:17 PST 2011
http://llvm.org/bugs/show_bug.cgi?id=9207
Summary: A LLVM IR file that causes a segfault in llc
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: Core LLVM classes
AssignedTo: unassignedbugs at nondot.org
ReportedBy: sylvestre at debian.org
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=6157)
--> (http://llvm.org/bugs/attachment.cgi?id=6157)
LLVM IR
The attached code built with the following command:
llc-2.8 testasm.ll -o testasm.s
Crashes:
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
--
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