diff options
author | Justin Bogner <mail@justinbogner.com> | 2015-07-09 06:58:31 +0000 |
---|---|---|
committer | Justin Bogner <mail@justinbogner.com> | 2015-07-09 06:58:31 +0000 |
commit | e76c48bf2ab5a6934fa2996cb7d735a93d602eb4 (patch) | |
tree | 28450aae44d2bd0ea55072009e476802be8a0511 /test/Driver/crash-report-modules.m | |
parent | 2b6cf2dd5a83b7520547f1a5b36aed6ea145bc02 (diff) | |
download | clang-e76c48bf2ab5a6934fa2996cb7d735a93d602eb4.tar.gz |
Driver: Include the driver arguments in crash reports
Similarly to r231989, the driver arguments can be quite helpful in
diagnosing a crash.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@241786 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Driver/crash-report-modules.m')
-rw-r--r-- | test/Driver/crash-report-modules.m | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Driver/crash-report-modules.m b/test/Driver/crash-report-modules.m index 66ebaa750d..0e1d81a1f3 100644 --- a/test/Driver/crash-report-modules.m +++ b/test/Driver/crash-report-modules.m @@ -26,6 +26,8 @@ const int x = MODULE_MACRO; // CHECKSRC: const int x = 10; // CHECKSH: # Crash reproducer +// CHECKSH-NEXT: # Driver args: "-fsyntax-only" +// CHECKSH-SAME: "-D" "FOO=BAR" // CHECKSH-NEXT: # Original command: {{.*$}} // CHECKSH-NEXT: "-cc1" // CHECKSH: "-isysroot" "/tmp/" |