InstrProf: Change the extension of the default profile

Change the name of the default profile dumped by compiler-rt to
default.profraw.  This distinguishes it more clearly from the
(incompatible) format output by llvm-profdata that is read by clang
-fprofile-instr-use.

llvm-svn: 204676
This commit is contained in:
Duncan P. N. Exon Smith
2014-03-24 21:53:42 +00:00
parent 58e5bee17a
commit 21b98a6c83

View File

@@ -85,7 +85,7 @@ int __llvm_profile_write_file(void) {
#define UPDATE_FILENAME(NextFilename) \
if (!Filename || !Filename[0]) Filename = NextFilename
UPDATE_FILENAME(getenv("LLVM_PROFILE_FILE"));
UPDATE_FILENAME("default.profdata");
UPDATE_FILENAME("default.profraw");
#undef UPDATE_FILENAME
/* Check the filename for "%p", which indicates a pid-substitution. */