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 | 11d768d949ad791b680f9f5a2b3ef368caf330e9 (patch) | |
tree | e42742109fe75cef1c483739fe1cc3e5b8de9cf6 /lib | |
parent | fd118ad8539b03d08865fec4a91be18adc7cce32 (diff) |
Switch from fputc to putc to fix r204079?
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@204084 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/profile/PGOProfiling.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/profile/PGOProfiling.c b/lib/profile/PGOProfiling.c index 9e7b93e46..1a17243c9 100644 --- a/lib/profile/PGOProfiling.c +++ b/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]); |