]> granicus.if.org Git - clang/commit
Driver: Name crashdump scripts after the first temp file
authorJustin Bogner <mail@justinbogner.com>
Mon, 20 Oct 2014 21:47:56 +0000 (21:47 +0000)
committerJustin Bogner <mail@justinbogner.com>
Mon, 20 Oct 2014 21:47:56 +0000 (21:47 +0000)
commit3004643a40f4e8d079c844d2193be562cbf939a3
tree81ec7445d2c9a6e9342c74866560f6dc7a60fbf4
parent25bc0371c4d75895922b2d7baa912b7f6c3fb6f9
Driver: Name crashdump scripts after the first temp file

In practice there's only ever one temporary output file when
generating a crashdump, but even if there were many iterating over
each and creating a duplicate run script for each one wouldn't make
very much sense.

This updates the behaviour to only generate the script once, based on
the first filename.

This should make it more reasonable to generate extra output files to
include in the crashdump going forward, so I've also added a FIXME to
look into doing just that with the extra module crashdump files.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@220238 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Driver.cpp