]> granicus.if.org Git - clang/commit
Include -D files in crash report repro scripts. (PR13255)
authorDavid Blaikie <dblaikie@gmail.com>
Mon, 2 Jul 2012 21:28:00 +0000 (21:28 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Mon, 2 Jul 2012 21:28:00 +0000 (21:28 +0000)
commitec956d82bceb1c471f4ae18541b78e431f7fbb20
tree0ea6ca27a15b05fc8c217871232e8a91b148ddd0
parent7dd900ed308506f9cf1cb72c70db1652f94cab37
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
lib/Driver/Driver.cpp