[LLVMbugs] [Bug 7119] New: Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue May 11 15:09:57 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=7119
Summary: Assertion `isa<X>(Val) && "cast<Ty>() argument of
incompatible type!"' failed.
Product: tools
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: lli
AssignedTo: unassignedbugs at nondot.org
ReportedBy: ich at az2000.de
CC: llvmbugs at cs.uiuc.edu
az at acompneu ~/Programmierung/openlierox/build-llvm-bitcode $
~/Programmierung/CppIDE/llvm-src/Debug/bin/lli olx.o.bc
lli:
/home/az/Programmierung/CppIDE/llvm-src/include/llvm/Support/Casting.h:202:
typename llvm::cast_retty<To, From>::ret_type llvm::cast(const Y&) [with X =
llvm::MDNode, Y = llvm::Value*]: Assertion `isa<X>(Val) && "cast<Ty>() argument
of incompatible type!"' failed.
0 lli 0x08b6500e
1 lli 0x08b64edf
2 0xb78e6400 __kernel_sigreturn + 0
3 0xb78e6424 __kernel_vsyscall + 16
4 libc.so.6 0xb76202c1 gsignal + 81
5 libc.so.6 0xb7621a02 abort + 386
6 libc.so.6 0xb761946e __assert_fail + 238
7 lli 0x08507b21 llvm::cast_retty<llvm::ConstantInt,
llvm::Value*>::ret_type llvm::cast<llvm::ConstantInt,
llvm::Value*>(llvm::Value* const&) + 0
8 lli 0x08ab5607 llvm::DbgValueInst::getValue() const + 51
9 lli 0x0868a2a5
llvm::SelectionDAGBuilder::visitIntrinsicCall(llvm::CallInst const&, unsigned
int) + 4839
10 lli 0x0868f45f llvm::SelectionDAGBuilder::visitCall(llvm::CallInst
const&) + 235
11 lli 0x086713c9 llvm::SelectionDAGBuilder::visit(unsigned int,
llvm::User const&) + 1103
12 lli 0x08670edd llvm::SelectionDAGBuilder::visit(llvm::Instruction
const&) + 123
13 lli 0x086abe89
llvm::SelectionDAGISel::SelectBasicBlock(llvm::MachineBasicBlock*,
llvm::BasicBlock const*, llvm::ilist_iterator<llvm::Instruction const>,
llvm::ilist_iterator<llvm::Instruction const>, bool&) + 55
14 lli 0x086aeab4
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) + 1524
15 lli 0x086abcca
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 602
16 lli 0x087b6e49
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 87
17 lli 0x08adc089 llvm::FPPassManager::runOnFunction(llvm::Function&) +
313
18 lli 0x08adbdbc llvm::FunctionPassManagerImpl::run(llvm::Function&) +
90
19 lli 0x08adba5e llvm::FunctionPassManager::run(llvm::Function&) + 176
20 lli 0x08744e8d llvm::JIT::runJITOnFunctionUnlocked(llvm::Function*,
llvm::MutexGuard const&) + 123
21 lli 0x087451a4 llvm::JIT::getPointerToFunction(llvm::Function*) + 516
22 lli 0x08743c6d llvm::JIT::runFunction(llvm::Function*,
std::vector<llvm::GenericValue, std::allocator<llvm::GenericValue> > const&) +
99
23 lli 0x0876c038
llvm::ExecutionEngine::runStaticConstructorsDestructors(llvm::Module*, bool) +
466
24 lli 0x0876c0dd
llvm::ExecutionEngine::runStaticConstructorsDestructors(bool) + 97
25 lli 0x084ed1ee main + 1815
26 libc.so.6 0xb760ca66 __libc_start_main + 230
27 lli 0x084ec8b1
Stack dump:
0. Program arguments: /home/az/Programmierung/CppIDE/llvm-src/Debug/bin/lli
olx.o.bc
1. Running pass 'X86 DAG->DAG Instruction Selection' on function
'@_GLOBAL__I_a2357'
Aborted (core dumped)
--
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