]> granicus.if.org Git - clang/commit
[driver] Completely rework how superfluous options are stripped out of the crash
authorChad Rosier <mcrosier@apple.com>
Wed, 31 Oct 2012 18:31:33 +0000 (18:31 +0000)
committerChad Rosier <mcrosier@apple.com>
Wed, 31 Oct 2012 18:31:33 +0000 (18:31 +0000)
commitc91b41a64ccce6d1097d85c8c7354ea63a5566a0
tree71f1236fdef44ed87cbdcf96e55fb36bb927a8f2
parent60c158a5e5827ed030b7cf8885f099cded563a6f
[driver] Completely rework how superfluous options are stripped out of the crash
diagnostics script.

This addresses the FIXME pertaining to quoted arguments.  We also delineate
between those flags that have an argument (e.g., -D macro, -MF file) and
those that do not (e.g., -M, -MM, -MG).  Finally, we add the -dwarf-debug-flags
to the list of flags to be removed.
rdar://12329974

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167152 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/Compilation.h
lib/Driver/Compilation.cpp
lib/Driver/Driver.cpp
test/Driver/crash-report.c