diff options
| author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-03-21 18:29:15 +0000 |
|---|---|---|
| committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-03-21 18:29:15 +0000 |
| commit | be0a5e176b6cadae34b14a7efac7eae2d918cfb6 (patch) | |
| tree | 585c0ec1ada6e845167029fa5ec7e388a0bc22c7 /compiler-rt/lib/profile/InstrProfilingPlatformOther.c | |
| parent | 24b4b6533925e6dbd0faef7976c7f794499e0ec6 (diff) | |
| download | bcm5719-llvm-be0a5e176b6cadae34b14a7efac7eae2d918cfb6.tar.gz bcm5719-llvm-be0a5e176b6cadae34b14a7efac7eae2d918cfb6.zip | |
InstrProf: Reorganize files; no functionality change
Move functions around to prepare for some other changes.
- Merge InstrProfilingExtras.h with InstrProfiling.h. There's no
benefit to having these split.
- Rename InstrProfilingExtras.c to InstrProfilingFile.c.
- Split actual buffer writing code out of InstrProfiling.c into
InstrProfilingBuffer.c.
- Drive-by corrections of a couple of header comments.
<rdar://problem/15943240>
llvm-svn: 204497
Diffstat (limited to 'compiler-rt/lib/profile/InstrProfilingPlatformOther.c')
| -rw-r--r-- | compiler-rt/lib/profile/InstrProfilingPlatformOther.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler-rt/lib/profile/InstrProfilingPlatformOther.c b/compiler-rt/lib/profile/InstrProfilingPlatformOther.c index da24f59fe19..69b59254f58 100644 --- a/compiler-rt/lib/profile/InstrProfilingPlatformOther.c +++ b/compiler-rt/lib/profile/InstrProfilingPlatformOther.c @@ -1,4 +1,4 @@ -/*===- InstrProfilingDefault.c - Profile data default platfrom ------------===*\ +/*===- InstrProfilingPlatformOther.c - Profile data default platfrom ------===*\ |* |* The LLVM Compiler Infrastructure |* @@ -8,6 +8,7 @@ \*===----------------------------------------------------------------------===*/ #include "InstrProfiling.h" +#include <stdlib.h> static const __llvm_profile_data *DataFirst = NULL; static const __llvm_profile_data *DataLast = NULL; |

