[LLVMbugs] [Bug 20434] New: unsigned int llvm::CCValAssign::getLocMemOffset() const: Assertion `isMemLoc()' failed.
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Jul 24 05:29:59 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=20434
Bug ID: 20434
Summary: unsigned int llvm::CCValAssign::getLocMemOffset()
const: Assertion `isMemLoc()' failed.
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: ismail at donmez.ws
CC: david.majnemer at gmail.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
I was playing around with llc and
[/havana/obs/clang/llvm-clang-head/llvm]> llc -mtriple=x86_64-pc-windows-msvc
test/CodeGen/X86/musttail-indirect.ll
llc: ../include/llvm/CodeGen/CallingConvLower.h:141: unsigned int
llvm::CCValAssign::getLocMemOffset() const: Assertion `isMemLoc()' failed.
0 libLLVMSupport.so 0x00007f96de221385
llvm::sys::PrintStackTrace(_IO_FILE*) + 37
1 libLLVMSupport.so 0x00007f96de221b83
2 libc.so.6 0x00007f96dd69a8d0
3 libc.so.6 0x00007f96dd69a849 gsignal + 57
4 libc.so.6 0x00007f96dd69bcd8 abort + 328
5 libc.so.6 0x00007f96dd693616
6 libc.so.6 0x00007f96dd6936c2
7 libLLVMX86CodeGen.so 0x00007f96e0a64b87
llvm::X86TargetLowering::LowerCall(llvm::TargetLowering::CallLoweringInfo&,
llvm::SmallVectorImpl<llvm::SDValue>&) const + 11063
8 libLLVMSelectionDAG.so 0x00007f96de5cb65e
llvm::TargetLowering::LowerCallTo(llvm::TargetLowering::CallLoweringInfo&)
const + 3918
9 libLLVMSelectionDAG.so 0x00007f96de5b6a67
llvm::SelectionDAGBuilder::LowerCallTo(llvm::ImmutableCallSite, llvm::SDValue,
bool, llvm::MachineBasicBlock*) + 1527
10 libLLVMSelectionDAG.so 0x00007f96de5a7ae2
llvm::SelectionDAGBuilder::visitCall(llvm::CallInst const&) + 1362
11 libLLVMSelectionDAG.so 0x00007f96de5a0386
llvm::SelectionDAGBuilder::visit(llvm::Instruction const&) + 70
12 libLLVMSelectionDAG.so 0x00007f96de5e56f8
llvm::SelectionDAGISel::SelectBasicBlock(llvm::ilist_iterator<llvm::Instruction
const>, llvm::ilist_iterator<llvm::Instruction const>, bool&) + 40
13 libLLVMSelectionDAG.so 0x00007f96de5e4cc8
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) + 8184
14 libLLVMSelectionDAG.so 0x00007f96de5e1dd6
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 1366
15 libLLVMX86CodeGen.so 0x00007f96e0a498a6
16 libLLVMCodeGen.so 0x00007f96df5e72ec
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 124
17 libLLVMCore.so 0x00007f96df1d8d9b
llvm::FPPassManager::runOnFunction(llvm::Function&) + 539
18 libLLVMCore.so 0x00007f96df1d900b
llvm::FPPassManager::runOnModule(llvm::Module&) + 43
19 libLLVMCore.so 0x00007f96df1d9536
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 886
20 llc 0x000000000040fc7b main + 6587
21 libc.so.6 0x00007f96dd686be5 __libc_start_main + 245
22 llc 0x000000000040d3e9
Stack dump:
0. Program arguments: llc -o - -mtriple=x86_64-pc-windows-msvc
test/CodeGen/X86/musttail-indirect.ll
1. Running pass 'Function Pass Manager' on module
'test/CodeGen/X86/musttail-indirect.ll'.
2. Running pass 'X86 DAG->DAG Instruction Selection' on function '@g_thunk'
[1] 16861 abort llc -o - -mtriple=x86_64-pc-windows-msvc
test/CodeGen/X86/musttail-indirect.l
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140724/ee233aa9/attachment.html>
More information about the llvm-bugs
mailing list