mirror of
https://github.com/intel/llvm.git
synced 2026-01-20 01:58:44 +08:00
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:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user