Driver: Consolidate the logic for naming the module crashdump cache
authorJustin Bogner <mail@justinbogner.com>
Mon, 20 Oct 2014 22:47:23 +0000 (22:47 +0000)
committerJustin Bogner <mail@justinbogner.com>
Mon, 20 Oct 2014 22:47:23 +0000 (22:47 +0000)
commit659ecc3120eb7797ce8ec85d2748e3b2f5065a5a
treef09aa7809cdbf3178db661386ef7570ef53bac39
parentcdb72f369f94be40a4f2651ac36f65caa4034bb5
Driver: Consolidate the logic for naming the module crashdump cache

List the module cache we use for crashdumps as a tempfile. This
simplifies how we pick up this directory when generating the actual
crash diagnostic and removes some duplicate logic.

llvm-svn: 220241
clang/lib/Driver/Driver.cpp
clang/lib/Driver/Tools.cpp