<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - clang frontend command failed due to signal"
   href="http://llvm.org/bugs/show_bug.cgi?id=17115">17115</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>clang frontend command failed due to signal
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>other
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>-New Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>mapholameth@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=11149" name="attach_11149" title="Preprocessed source.">attachment 11149</a> <a href="attachment.cgi?id=11149&action=edit" title="Preprocessed source.">[details]</a></span>
Preprocessed source.

OS: Windows8 x64
Visual Studio 2012 express

clang version 3.4
Target: i686-pc-win32
Thread model: posix

I installed windows snapshot build from here <a href="http://llvm.org/builds/">http://llvm.org/builds/</a> SVN
r190067.

Source:
#include <cstdlib>
#include <cstdio>

int main()
{
    auto func = []() { printf("Hello, world!"); };
    func();
    return EXIT_SUCCESS;
}

Output:
1>------ Rebuild All started: Project: clang-toolchain-test, Configuration:
Debug Win32 ------
1>clang cl.exe : warning : argument unused during compilation: '/ZI'
1>clang cl.exe : warning : argument unused during compilation: '/Gm'
1>clang cl.exe : warning : argument unused during compilation: '/EHsc'
1>clang cl.exe : warning : argument unused during compilation: '/RTC1'
1>clang cl.exe : warning : argument unused during compilation: '/GS'
1>clang cl.exe : warning : argument unused during compilation: '/fp:precise'
1>clang cl.exe : warning : argument unused during compilation:
'/FdDebug\vc100.pdb'
1>clang cl.exe : warning : argument unused during compilation: '/Gd'
1>clang cl.exe : warning : argument unused during compilation: '-v'
1>  placeholder types shouldn't get to name mangling
1>  UNREACHABLE executed at ..\tools\clang\lib\AST\MicrosoftMangle.cpp:1208!
1>clang cl.exe : error : clang frontend command failed due to signal (use -v to
see invocation)
1>  clang version 3.4 
1>  Target: i686-pc-win32
1>  Thread model: posix
1>  clang cl.exe: note: diagnostic msg: PLEASE submit a bug report to
<a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a> and include the crash backtrace, preprocessed source, and
associated run script.
1>  clang cl.exe: note: diagnostic msg: 
1>  ********************
1>  
1>  PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
1>  Preprocessed source(s) and associated run script(s) are located at:
1>  clang cl.exe: note: diagnostic msg:
C:\Users\MAPHO_~1\AppData\Local\Temp\main-7837fa.cpp
1>  clang cl.exe: note: diagnostic msg:
C:\Users\MAPHO_~1\AppData\Local\Temp\main-7837fa.sh
1>  clang cl.exe: note: diagnostic msg: 
1>  
1>  ********************
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

Invocation (C:\Users\MAPHO_~1\AppData\Local\Temp\main-7837fa.sh):
C:\Program Files (x86)\LLVM 3.4.svn\msbuild-bin\CL.exe -cc1 -triple
i686-pc-win32 -emit-obj -mrelax-all -disable-free -main-file-name main.cpp
-mrelocation-model static -mdisable-fp-elim -fmath-errno -masm-verbose
-mconstructor-aliases -target-cpu pentium4 -D_DEBUG -D_MT -D_DLL
--dependent-lib=msvcrtd --dependent-lib=oldnames -cxx-abi microsoft -D "_MBCS"
-O0 -Wall -Wno-error -std=c++11 -fdeprecated-macro -ferror-limit 19
-fmessage-length 0 -mstackrealign -fms-extensions -fms-compatibility
-fmsc-version=1300 -fdelayed-template-parsing -fobjc-runtime=gcc
-fobjc-default-synthesize-properties -fcxx-exceptions -fexceptions
-fdiagnostics-show-option -vectorize-slp -x c++ main-7837fa.cpp</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>