Skip to content

Commit 326efc9

Browse files
tmandrynikic
authored andcommitted
[fuchsia] Don't include duplicate profiling symbols for Fuchsia
InstrProfilingPlatformLinux.c already provides these symbols. Linker order saved us from noticing before. Differential Revision: https://reviews.llvm.org/D124136
1 parent 161fd6b commit 326efc9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler-rt/lib/profile/InstrProfilingPlatformOther.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
\*===----------------------------------------------------------------------===*/
88

99
#if !defined(__APPLE__) && !defined(__linux__) && !defined(__FreeBSD__) && \
10-
!(defined(__sun__) && defined(__svr4__)) && !defined(__NetBSD__) && \
11-
!defined(_WIN32)
10+
!defined(__Fuchsia__) && !(defined(__sun__) && defined(__svr4__)) && \
11+
!defined(__NetBSD__) && !defined(_WIN32)
1212

1313
#include <stdlib.h>
1414
#include <stdio.h>

0 commit comments

Comments
 (0)