[compiler-rt] r280900 - Correctly escape %.
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 7 18:46:53 PDT 2016
Author: nico
Date: Wed Sep 7 20:46:52 2016
New Revision: 280900
URL: http://llvm.org/viewvc/llvm-project?rev=280900&view=rev
Log:
Correctly escape %.
Found be an MSVC warning; I filed PR30320 for adding a similar warning to clang.
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=280900&r1=280899&r2=280900&view=diff
==============================================================================
--- compiler-rt/trunk/lib/profile/InstrProfilingFile.c (original)
+++ compiler-rt/trunk/lib/profile/InstrProfilingFile.c Wed Sep 7 20:46:52 2016
@@ -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();
More information about the llvm-commits
mailing list