diff options
| -rw-r--r-- | compiler-rt/lib/profile/InstrProfilingFile.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/lib/profile/InstrProfilingFile.c b/compiler-rt/lib/profile/InstrProfilingFile.c index 875cdf098b3..d775f6b2040 100644 --- a/compiler-rt/lib/profile/InstrProfilingFile.c +++ b/compiler-rt/lib/profile/InstrProfilingFile.c @@ -414,6 +414,7 @@ static void assertIsZero(int *i) { } #endif +#if !defined(__Fuchsia__) && !defined(_WIN32) /* Write a partial profile to \p Filename, which is required to be backed by * the open file object \p File. */ static int writeProfileWithFileObject(const char *Filename, FILE *File) { @@ -433,6 +434,7 @@ static void unlockProfile(int *ProfileRequiresUnlock, FILE *File) { lprofUnlockFileHandle(File); *ProfileRequiresUnlock = 0; } +#endif // !defined(__Fuchsia__) && !defined(_WIN32) static void initializeProfileForContinuousMode(void) { if (!__llvm_profile_is_continuous_mode_enabled()) |

