[llvm-bugs] [Bug 33365] New: LLVM Crashed in X86 DAG->DAG Instruction Selection, with -fprofile-generate

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jun 8 12:01:57 PDT 2017


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

            Bug ID: 33365
           Summary: LLVM Crashed in X86 DAG->DAG Instruction Selection,
                    with -fprofile-generate
           Product: libraries
           Version: 4.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: GlobalISel
          Assignee: unassignedbugs at nondot.org
          Reporter: cmtice at google.com
                CC: llvm-bugs at lists.llvm.org

Chrome normally builds with clang without a problem, but if I try adding the
flag '-fprofile-generate', the compilation crashes.

1.      <eof> parser at end of file
2.      Code generation
3.      Running pass 'Function Pass Manager' on module
'../../../../../chromeos-cache/distfiles/target/chrome-src-internal/src/ui/gfx/transform_util.cc'.
4.      Running pass 'X86 DAG->DAG Instruction Selection' on function
'@_ZN3gfx18DecomposeTransformEPNS_19DecomposedTransformERKNS_9TransformE'
clang-5.0: error: unable to execute command: Segmentation fault (core dumped)
clang-5.0: error: clang frontend command failed due to signal (use -v to see
invocation)
Chromium OS 5.0_pre300080-r7 clang version 5.0.0
(/var/cache/chromeos-cache/distfiles/host/egit-src/clang.git
8ae674d121a0c39b4ae6e83d10caad3fd29dce13)
(/var/cache/chromeos-cache/distfiles/host/egit-src/llvm.git
3183fbc849f015fd085ce6724e85ae1de65db4e6) (based on LLVM 5.0.0svn)
Target: x86_64-cros-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
clang-5.0: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.
clang-5.0: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-5.0: note: diagnostic msg:
/build/falco/tmp/portage/chromeos-base/chromeos-chrome-61.0.3123.0_rc-r1/temp/transform_util-e1da80.cpp
clang-5.0: note: diagnostic msg:
/build/falco/tmp/portage/chromeos-base/chromeos-chrome-61.0.3123.0_rc-r1/temp/transform_util-e1da80.sh
clang-5.0: note: diagnostic msg: 

********************

I'm attaching the two files created by the crash.

-- 
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/20170608/912d2f83/attachment.html>


More information about the llvm-bugs mailing list