[llvm-bugs] [Bug 27586] New: Using new exception handling instructions crashs ll compiler

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Apr 30 03:59:36 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=27586

            Bug ID: 27586
           Summary: Using new exception handling instructions crashs ll
                    compiler
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
          Assignee: unassignedbugs at nondot.org
          Reporter: LordBlackhawk at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 16284
  --> https://llvm.org/bugs/attachment.cgi?id=16284&action=edit
ll file causing the access violation

The following access violation is thrown during compilation of the attached ll
file.

0  libLLVM-3.9.so 0x00007f78815680c5
llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 37
1  libLLVM-3.9.so 0x00007f78815664e6 llvm::sys::RunSignalHandlers() + 54
2  libLLVM-3.9.so 0x00007f788156663b
3  libc.so.6      0x00007f788034b0e0
4  libLLVM-3.9.so 0x00007f78818a4c98
llvm::WinEHFuncInfo::addIPToStateRange(llvm::InvokeInst const*,
llvm::MCSymbol*, llvm::MCSymbol*) + 24
5  libLLVM-3.9.so 0x00007f78819f5677
llvm::SelectionDAGBuilder::lowerInvokable(llvm::TargetLowering::CallLoweringInfo&,
llvm::BasicBlock const*) + 1143
6  libLLVM-3.9.so 0x00007f7881a0d474
llvm::SelectionDAGBuilder::LowerCallTo(llvm::ImmutableCallSite, llvm::SDValue,
bool, llvm::BasicBlock const*) + 2020
7  libLLVM-3.9.so 0x00007f7881a23997
llvm::SelectionDAGBuilder::visitInvoke(llvm::InvokeInst const&) + 967
8  libLLVM-3.9.so 0x00007f7881a28092
llvm::SelectionDAGBuilder::visit(llvm::Instruction const&) + 66
9  libLLVM-3.9.so 0x00007f7881a5bde8
llvm::SelectionDAGISel::SelectBasicBlock(llvm::ilist_iterator<llvm::Instruction
const>, llvm::ilist_iterator<llvm::Instruction const>, bool&) + 168
10 libLLVM-3.9.so 0x00007f7881a624fb
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) + 1371
11 libLLVM-3.9.so 0x00007f7881a63f9e
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 1150
12 libLLVM-3.9.so 0x00007f7882a0ab74
13 libLLVM-3.9.so 0x00007f7881760159
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 169
14 libLLVM-3.9.so 0x00007f7881616782
llvm::FPPassManager::runOnFunction(llvm::Function&) + 482
15 libLLVM-3.9.so 0x00007f7881616aab
llvm::FPPassManager::runOnModule(llvm::Module&) + 43
16 libLLVM-3.9.so 0x00007f7881616d94
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 708
17 llc-3.9        0x0000000000418d6a
18 llc-3.9        0x00000000004119b0 main + 400
19 libc.so.6      0x00007f7880337b45 __libc_start_main + 245
20 llc-3.9        0x0000000000411a12
Stack dump:
0.    Program arguments: llc-3.9 -O3 -filetype=obj example.ll 
1.    Running pass 'Function Pass Manager' on module 'example.ll'.
2.    Running pass 'X86 DAG->DAG Instruction Selection' on function
'@mvm_operator_mul_2_int_string_string'

-- 
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/20160430/196671df/attachment.html>


More information about the llvm-bugs mailing list