summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2016-09-08 01:46:52 +0000
committerNico Weber <nicolasweber@gmx.de>2016-09-08 01:46:52 +0000
commit81291a0fce2fb46f466676c1fd023af09c5ebbd7 (patch)
treeeb336d522b041d74791b45b5bfc346821ece2cbf
parentf3fe5a744585cd09d6afe10fb25d45b3894e9a9c (diff)
downloadbcm5719-llvm-81291a0fce2fb46f466676c1fd023af09c5ebbd7.tar.gz
bcm5719-llvm-81291a0fce2fb46f466676c1fd023af09c5ebbd7.zip
Correctly escape %.
Found be an MSVC warning; I filed PR30320 for adding a similar warning to clang. llvm-svn: 280900
-rw-r--r--compiler-rt/lib/profile/InstrProfilingFile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/profile/InstrProfilingFile.c b/compiler-rt/lib/profile/InstrProfilingFile.c
index fab479d3c1d..2c1ca956827 100644
--- a/compiler-rt/lib/profile/InstrProfilingFile.c
+++ b/compiler-rt/lib/profile/InstrProfilingFile.c
@@ -558,7 +558,7 @@ COMPILER_RT_VISIBILITY
int __llvm_profile_dump(void) {
if (!doMerging())
PROF_WARN("Later invocation of __llvm_profile_dump can lead to clobbering "
- " of previously dumped profile data : %s. Either use \%m "
+ " of previously dumped profile data : %s. Either use %%m "
"in profile name or change profile name before dumping.\n",
"online profile merging is not on");
int rc = __llvm_profile_write_file();
OpenPOWER on IntegriCloud