summaryrefslogtreecommitdiff
path: root/lib/profile/InstrProfilingFile.c
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2016-06-14 17:23:13 +0000
committerVedant Kumar <vsk@apple.com>2016-06-14 17:23:13 +0000
commit6543bc54047edb4ee9f7a4f6f440f5a52884cf57 (patch)
tree5671cad2a56b40a5c34bd5899aaa697192ac4d99 /lib/profile/InstrProfilingFile.c
parenteef7355c1bfd9ca942cec616b76eb7da93f36172 (diff)
[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. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@272685 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/profile/InstrProfilingFile.c')
-rw-r--r--lib/profile/InstrProfilingFile.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/profile/InstrProfilingFile.c b/lib/profile/InstrProfilingFile.c
index a7ec7a044..1bd6c6339 100644
--- a/lib/profile/InstrProfilingFile.c
+++ b/lib/profile/InstrProfilingFile.c
@@ -288,9 +288,8 @@ static int parseFilenamePattern(const char *FilenamePat) {
}
} 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;