[llvm-bugs] [Bug 47289] New: out of memory during optimized compilation

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Aug 23 03:07:32 PDT 2020


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

            Bug ID: 47289
           Summary: out of memory during optimized compilation
           Product: clang
           Version: 10.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: mizvekov at gmail.com
                CC: blitzrakete at gmail.com, dgregor at apple.com,
                    erik.pilkington at gmail.com, llvm-bugs at lists.llvm.org,
                    richard-llvm at metafoo.co.uk

Created attachment 23886
  --> https://bugs.llvm.org/attachment.cgi?id=23886&action=edit
automatic reproduction (zipped due to size)

Including automatic reproduction due to below crash.

Note that at the end, an unrelated problem with the crash reporter itself,
which produces empty source name instead of "psx-bc0931.cpp", which is included
in the zip file anyway.

```
LLVM error : out of memory
  Stack dump:
  0.    Program arguments:
C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\Llvm\bin\clang-cl.exe /nologo -TP
<...> -m64 /DWIN32 /D_WINDOWS /D_CRT_SECURE_NO_WARNINGS /W3 /Zi /bigobj /utf-8
/Oi /GF /Gy -fdiagnostics-absolute-paths /EHsc /WX- /D_DEBUG /O1 /Os
/D_HAS_ITERATOR_DEBUGGING=0 -MTd -std:c++latest /showIncludes <...>
  1.    <eof> parser at end of file
  2.    Code generation
  #0 0x023767f8 
  #1 0x7579edc2 
  #2 0x02369aed 
  #3 0x00fb3612 
  #4 0x00fb358b 
clang-cl : error : clang frontend command failed due to signal (use -v to see
invocation)
  clang version 10.0.0 
  Target: x86_64-pc-windows-msvc
  Thread model: posix
  InstalledDir: C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\Llvm\bin
  clang-cl: note: diagnostic msg: PLEASE submit a bug report to
https://bugs.llvm.org/ and include the crash backtrace, preprocessed source,
and associated run script.
  clang-cl: note: diagnostic msg: 
  ********************

  PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
  Preprocessed source(s) and associated run script(s) are located at:
  clang-cl: note: diagnostic msg: psx-bc0931.sh
  clang-cl: note: diagnostic msg: 
```

-- 
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/20200823/ff77c736/attachment-0001.html>


More information about the llvm-bugs mailing list