<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </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-cl rejects -fno-crash-diagnostics"
   href="https://bugs.llvm.org/show_bug.cgi?id=38574">38574</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>clang-cl rejects -fno-crash-diagnostics
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

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

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

        <tr>
          <th>OS</th>
          <td>Windows NT
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>new bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>neumann@imt.uni-luebeck.de
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Neither: 
clang "--driver-mode=cl" <more switches> -fno-crash-diagnostics <source>
nor
clang "--driver-mode=cl" <more switches> -Xclang "-fno-crash-diagnostics"
<source>
works to deactivate the generation of crash reports.  

neumann@neumann-vb:/media/sf_LLVMBug/Reduced/tmp$ "/usr/lib/llvm-6.0/bin/clang"
"-cc1" "-triple" "x86_64-pc-windows-msvc19.11.0" "-emit-obj" "-resource-dir"
"/usr/lib/llvm-6.0/lib/clang/6.0.1" "-internal-isystem"
"/usr/lib/llvm-6.0/lib/clang/6.0.1/include" "-O2" 
"-fms-compatibility-version=19.11" "-std=c++2a" "-fno-crash-diagnostics" "-o"
"main-629005.obj" "-x" "c++" "main-629005.cpp"
error: unknown argument: '-fno-crash-diagnostics'
neumann@neumann-vb:/media/sf_LLVMBug/Reduced/tmp$ clang -help | grep crash
  -fno-crash-diagnostics  Disable auto-generation of preprocessed source files
and a script for reproduction during a clang crash
neumann@neumann-vb:/media/sf_LLVMBug/Reduced/tmp$ clang "-cc1" -help | grep
crash
neumann@neumann-vb:/media/sf_LLVMBug/Reduced/tmp$</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>