]> granicus.if.org Git - clang/commit
Driver: Record that we're in crashdump and push flags to ConstructJob
authorJustin Bogner <mail@justinbogner.com>
Fri, 20 Jun 2014 22:16:00 +0000 (22:16 +0000)
committerJustin Bogner <mail@justinbogner.com>
Fri, 20 Jun 2014 22:16:00 +0000 (22:16 +0000)
commita7c5ec1c87bda9a98af5a168933be2dd6c56503f
treea606f7c0cb9a81029145fbddca819a4d069a26fd
parent51d7c9b21080953aee7b04b0acd38f7702be8a94
Driver: Record that we're in crashdump and push flags to ConstructJob

It's more flexible and arguably better layering to set flags to modify
compiling for diagnostics in the CC1 job themselves, rather than
tweaking the driver flags and letting them propagate.

There is one visible change this causes: crash report files will now
get preprocessed names (.i and friends).

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