[compiler-rt] r204084 - Switch from fputc to putc to fix r204079?
Duncan P. N. Exon Smith
dexonsmith at apple.com
Mon Mar 17 15:20:58 PDT 2014
Author: dexonsmith
Date: Mon Mar 17 17:20:58 2014
New Revision: 204084
URL: http://llvm.org/viewvc/llvm-project?rev=204084&view=rev
Log:
Switch from fputc to putc to fix r204079?
Modified:
compiler-rt/trunk/lib/profile/PGOProfiling.c
Modified: compiler-rt/trunk/lib/profile/PGOProfiling.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/profile/PGOProfiling.c?rev=204084&r1=204083&r2=204084&view=diff
==============================================================================
--- compiler-rt/trunk/lib/profile/PGOProfiling.c (original)
+++ compiler-rt/trunk/lib/profile/PGOProfiling.c Mon Mar 17 17:20:58 2014
@@ -81,7 +81,7 @@ static void writeFunction(FILE *OutputFi
*/
uint32_t I;
for (I = 0; I < Data->NameSize; ++I)
- fputc(Data->Name[I], OutputFile);
+ putc(Data->Name[I], OutputFile);
fprintf(OutputFile, " %u\n", Data->NumCounters);
for (I = 0; I < Data->NumCounters; ++I)
fprintf(OutputFile, "%" PRIu64 "\n", Data->Counters[I]);
More information about the llvm-commits
mailing list