[compiler-rt] r272685 - [profile] Update a warning message (NFC)
Vedant Kumar via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 14 10:23:14 PDT 2016
Author: vedantk
Date: Tue Jun 14 12:23:13 2016
New Revision: 272685
URL: http://llvm.org/viewvc/llvm-project?rev=272685&view=rev
Log:
[profile] Update a warning message (NFC)
It's possible for a merge pool specifier to appear anywhere in a
filename pattern. Update the warning to reflect this.
Modified:
compiler-rt/trunk/lib/profile/InstrProfilingFile.c
Modified: compiler-rt/trunk/lib/profile/InstrProfilingFile.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/profile/InstrProfilingFile.c?rev=272685&r1=272684&r2=272685&view=diff
==============================================================================
--- compiler-rt/trunk/lib/profile/InstrProfilingFile.c (original)
+++ compiler-rt/trunk/lib/profile/InstrProfilingFile.c Tue Jun 14 12:23:13 2016
@@ -288,9 +288,8 @@ static int parseFilenamePattern(const ch
}
} else if (containsMergeSpecifier(FilenamePat, I)) {
if (MergingEnabled) {
- PROF_WARN(
- "%%m specifier can only be specified once at the end of %s.\n",
- FilenamePat);
+ PROF_WARN("%%m specifier can only be specified once in %s.\n",
+ FilenamePat);
return -1;
}
MergingEnabled = 1;
More information about the llvm-commits
mailing list