diff options
author | David Blaikie <dblaikie@gmail.com> | 2012-07-02 21:28:00 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2012-07-02 21:28:00 +0000 |
commit | df9582cca53cbe610c4e8c3861b4ad1b8260106b (patch) | |
tree | 46a4ebff5536f029a09e0d6052a2b6be720965bb /clang/lib/Driver/Driver.cpp | |
parent | d39e5f14636bec2ef3164c12d80fbd40ad36e88f (diff) | |
download | bcm5719-llvm-df9582cca53cbe610c4e8c3861b4ad1b8260106b.tar.gz bcm5719-llvm-df9582cca53cbe610c4e8c3861b4ad1b8260106b.zip |
Include -D files in crash report repro scripts. (PR13255)
Now that we're only using -frewrite-includes rather than full preprocessing
when producing repro source files, we should also include command line macro
definitions in the repro script.
I don't have a test case for this because I'm not sure if/how I can open the
crash report file when the name is only known by scraping the crash report
output. Suggestions welcome if anyone thinks it'd be helpful.
llvm-svn: 159592
Diffstat (limited to 'clang/lib/Driver/Driver.cpp')
-rw-r--r-- | clang/lib/Driver/Driver.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/Driver/Driver.cpp b/clang/lib/Driver/Driver.cpp index 2f2d07c8b97..9b5783d8ef2 100644 --- a/clang/lib/Driver/Driver.cpp +++ b/clang/lib/Driver/Driver.cpp @@ -503,7 +503,6 @@ void Driver::generateCompilationDiagnostics(Compilation &C, // Strip away options not necessary to reproduce the crash. // FIXME: This doesn't work with quotes (e.g., -D "foo bar"). SmallVector<std::string, 16> Flag; - Flag.push_back("-D "); Flag.push_back("-F"); Flag.push_back("-I "); Flag.push_back("-o "); |