[Perf-training] Fixing an issue with multi-threading PGO generation
authorChris Bieneman <beanz@apple.com>
Tue, 22 Mar 2016 02:55:40 +0000 (02:55 +0000)
committerChris Bieneman <beanz@apple.com>
Tue, 22 Mar 2016 02:55:40 +0000 (02:55 +0000)
commitb6f7efa71fa63d8e910723b67b0a8430c3ebe4fc
treeee83c8f1316f9a69d2a2706d84b76d8a0e6baf6c
parent32e9a32225e3fd5b77764f791af7d2324374932b
[Perf-training] Fixing an issue with multi-threading PGO generation

When LIT parallelizes the profraw file generation we need to generate unique temp filenames then clean them up after the driver executes.

llvm-svn: 264021
clang/utils/perf-training/perf-helper.py