[llvm-bugs] [Bug 43277] New: Segmentation fault in opt with -x86-codegen switch

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Sep 11 05:29:25 PDT 2019


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

            Bug ID: 43277
           Summary: Segmentation fault in opt with -x86-codegen switch
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: X86
          Assignee: unassignedbugs at nondot.org
          Reporter: llvm-dev at redking.me.uk
                CC: craig.topper at gmail.com, llvm-bugs at lists.llvm.org,
                    llvm-dev at redking.me.uk, spatel+llvm at rotateright.com

Created attachment 22485
  --> https://bugs.llvm.org/attachment.cgi?id=22485&action=edit
a.ll

Reported here:
https://lists.llvm.org/pipermail/llvm-dev/2019-September/135045.html

opt -S -o a.out.ll a.ll -x86-codegen

The traces of the error is as follows.

Stack dump:
0.      Program arguments: /home/raghesh/code/mirror/llvm-project/build/bin/opt
-S -o a.out.ll a.ll -x86-codegen
 #0 0x00007ff5339d728a llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/home/raghesh/code/mirror/llvm-project/build/bin/../lib/libLLVM-10svn.so+0x76528a)
 #1 0x00007ff5339d4f64 llvm::sys::RunSignalHandlers()
(/home/raghesh/code/mirror/llvm-project/build/bin/../lib/libLLVM-10svn.so+0x762f64)
 #2 0x00007ff5339d50a2 SignalHandler(int)
(/home/raghesh/code/mirror/llvm-project/build/bin/../lib/libLLVM-10svn.so+0x7630a2)
 #3 0x00007ff53291ef20 (/lib/x86_64-linux-gnu/libc.so.6+0x3ef20)
 #4 0x00007ff533d86080
llvm::MachineModuleInfo::MachineModuleInfo(llvm::LLVMTargetMachine const*)
(/home/raghesh/code/mirror/llvm-project/build/bin/../lib/libLLVM-10svn.so+0xb14080)
 #5 0x00007ff533d86178 llvm::Pass*
llvm::callDefaultCtor<llvm::MachineModuleInfo>()
(/home/raghesh/code/mirror/llvm-project/build/bin/../lib/libLLVM-10svn.so+0xb14178)
 #6 0x00007ff533b0c83d llvm::PMTopLevelManager::schedulePass(llvm::Pass*)
(/home/raghesh/code/mirror/llvm-project/build/bin/../lib/libLLVM-10svn.so+0x89a83d)
 #7 0x00007ff533b0c9a3 llvm::PMTopLevelManager::schedulePass(llvm::Pass*)
(/home/raghesh/code/mirror/llvm-project/build/bin/../lib/libLLVM-10svn.so+0x89a9a3)
 #8 0x0000557729456ac4 main
(/home/raghesh/code/mirror/llvm-project/build/bin/opt+0x1dac4)
 #9 0x00007ff532901b97 __libc_start_main
/build/glibc-OTsEL5/glibc-2.27/csu/../csu/libc-start.c:344:0
#10 0x000055772945795a _start
(/home/raghesh/code/mirror/llvm-project/build/bin/opt+0x1e95a)
Segmentation fault (core dumped)

-- 
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/20190911/27d817a5/attachment.html>


More information about the llvm-bugs mailing list