aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver/Driver.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2012-07-02 21:28:00 +0000
committerDavid Blaikie <dblaikie@gmail.com>2012-07-02 21:28:00 +0000
commitec956d82bceb1c471f4ae18541b78e431f7fbb20 (patch)
tree0ea6ca27a15b05fc8c217871232e8a91b148ddd0 /lib/Driver/Driver.cpp
parent7dd900ed308506f9cf1cb72c70db1652f94cab37 (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159592 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Driver.cpp')
-rw-r--r--lib/Driver/Driver.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Driver/Driver.cpp b/lib/Driver/Driver.cpp
index 2f2d07c8b9..9b5783d8ef 100644
--- a/lib/Driver/Driver.cpp
+++ b/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 ");