The compiler creates unique, temporary files when storing diagnostic
information (e.g when a crash occurs). If an absolute path is not
specified, prefer LLVM_TEMP_DIR for the location of these files.
For example:
$ LLVM_TEMP_DIR=/BuildData clang-borked /tmp/x.c -o /tmp/x
Here, the compiler spits out diagnostic files into /BuildData.
Motivation: This would make it easier for our build infrastructure to extract diagnostic files from crashing bots.