[llvm-bugs] [Bug 38730] New: segfault in llvm::DAGTypeLegalizer::DisintegrateMERGE_VALUES

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Aug 27 16:11:38 PDT 2018


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

            Bug ID: 38730
           Summary: segfault in
                    llvm::DAGTypeLegalizer::DisintegrateMERGE_VALUES
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: ndesaulniers at google.com
                CC: llvm-bugs at lists.llvm.org

When compiling drivers/android/binder.o in the Linux kernel targeting 32b x86,
I see the following crash in clang:

1.      <eof> parser at end of file
2.      Code generation
3.      Running pass 'Function Pass Manager' on module
'drivers/android/binder.c'.
4.      Running pass 'X86 DAG->DAG Instruction Selection' on function
'@binder_ioctl_write_read'
#0 0x000055d0eec53c8a llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/android1/llvm/build/bin/clang-7+0x2166c8a)
#1 0x000055d0eec522d4 llvm::sys::RunSignalHandlers()
(/android1/llvm/build/bin/clang-7+0x21652d4)
#2 0x000055d0eec52402 SignalHandler(int)
(/android1/llvm/build/bin/clang-7+0x2165402)
#3 0x00007f20a9f140c0 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0x110c0)
#4 0x000055d0ef5926b2
llvm::DAGTypeLegalizer::DisintegrateMERGE_VALUES(llvm::SDNode*, unsigned int)
(/android1/llvm/build/bin/clang-7+0x2aa56b2)
#5 0x000055d0ef608f58
llvm::DAGTypeLegalizer::ExpandRes_MERGE_VALUES(llvm::SDNode*, unsigned int,
llvm::SDValue&, llvm::SDValue&) (/android1/llvm/build/bin/clang-7+0x2b1bf58)
#6 0x00007ffda33f3006
clang-7: error: unable to execute command: Segmentation fault

Reported: https://github.com/ClangBuiltLinux/linux/issues/22

-- 
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/20180827/0f3ba514/attachment.html>


More information about the llvm-bugs mailing list