diff options
| author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-03-17 22:20:58 +0000 |
|---|---|---|
| committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-03-17 22:20:58 +0000 |
| commit | 054f8708b539b87d764b46232dd699e8d5d3d125 (patch) | |
| tree | 8ae6c33cd4850b03ad10f32b326ffe47a36efe10 | |
| parent | 58d2637f2a18f3b65220af20562e0bfb3b434ebb (diff) | |
| download | bcm5719-llvm-054f8708b539b87d764b46232dd699e8d5d3d125.tar.gz bcm5719-llvm-054f8708b539b87d764b46232dd699e8d5d3d125.zip | |
Switch from fputc to putc to fix r204079?
llvm-svn: 204084
| -rw-r--r-- | compiler-rt/lib/profile/PGOProfiling.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/profile/PGOProfiling.c b/compiler-rt/lib/profile/PGOProfiling.c index 9e7b93e4603..1a17243c9f3 100644 --- a/compiler-rt/lib/profile/PGOProfiling.c +++ b/compiler-rt/lib/profile/PGOProfiling.c @@ -81,7 +81,7 @@ static void writeFunction(FILE *OutputFile, const __llvm_pgo_data *Data) { */ 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]); |

