[llvm-bugs] [Bug 38574] New: clang-cl rejects -fno-crash-diagnostics

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Aug 14 23:55:37 PDT 2018


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

            Bug ID: 38574
           Summary: clang-cl rejects -fno-crash-diagnostics
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: neumann at imt.uni-luebeck.de
                CC: llvm-bugs at lists.llvm.org

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 at 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 at 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 at neumann-vb:/media/sf_LLVMBug/Reduced/tmp$ clang "-cc1" -help | grep
crash
neumann at neumann-vb:/media/sf_LLVMBug/Reduced/tmp$

-- 
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/20180815/0fc045af/attachment.html>


More information about the llvm-bugs mailing list