[LLVMbugs] [Bug 7317] New: assertion failed on lowering garbage collection instructions
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Jun 8 10:35:09 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=7317
Summary: assertion failed on lowering garbage collection
instructions
Product: new-bugs
Version: 2.6
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: paende at cs.uu.nl
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=4990)
--> (http://llvm.org/bugs/attachment.cgi?id=4990)
file that triggers the failed assertion
assertion encountered while adding garbage collection support to an llvm
backend using the build in shadow stack.
following commands trigger assertion failed on attached bc file:
---------------------------------------------------------------
+ /usr/bin/llvm-as -f -o imaginary/wheel-sieve1/build/Main_plus_prelude.bc
imaginary/wheel-sieve1/build/Main_plus_prelude.ll
+ /usr/bin/opt -std-compile-opts -dce -globalsmodref-aa -ipsccp -f -o
imaginary/wheel-sieve1/build/Main_plus_prelude_opt.bc
imaginary/wheel-sieve1/build/Main_plus_prelude.bc
+ /usr/bin/llc -mtriple=x86_64-Linux-unknown -f -o
imaginary/wheel-sieve1/build/Main_plus_prelude.s
imaginary/wheel-sieve1/build/Main_plus_prelude_opt.bc
llc: /build/buildd/llvm-2.6/include/llvm/ADT/ilist.h:197: typename
bidirectional_iterator<NodeTy, long int>::reference
llvm::ilist_iterator<NodeTy>::operator*() const [with NodeTy =
llvm::Instruction]: Assertion `Traits::getNext(NodePtr) != 0 && "Dereferencing
end()!"' failed.
0 llc 0x0000000000ec915f
1 llc 0x0000000000ec994d
2 libpthread.so.0 0x00007ff5323f5190
3 libc.so.6 0x00007ff5316fa4b5 gsignal + 53
4 libc.so.6 0x00007ff5316fdf50 abort + 384
5 libc.so.6 0x00007ff5316f3481 __assert_fail + 241
6 llc 0x0000000000e2fe5d llvm::Instruction::eraseFromParent() +
125
7 llc 0x0000000000cac0e6
8 llc 0x0000000000c24803
9 llc 0x0000000000e60f45
llvm::FPPassManager::runOnFunction(llvm::Function&) + 581
10 llc 0x0000000000e61361
llvm::FunctionPassManagerImpl::run(llvm::Function&) + 145
11 llc 0x0000000000e61571
llvm::FunctionPassManager::run(llvm::Function&) + 81
12 llc 0x00000000005399cf main + 5439
13 libc.so.6 0x00007ff5316e5abd __libc_start_main + 253
14 llc 0x0000000000537869
Stack dump:
0. Program arguments: /usr/bin/llc -mtriple=x86_64-Linux-unknown -f -o
imaginary/wheel-sieve1/build/Main_plus_prelude.s
imaginary/wheel-sieve1/build/Main_plus_prelude_opt.bc
1. Running pass 'Lower Garbage Collection Instructions' on function
'@fun_plusplus'
--------------------------------------------------
--
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