[compiler-rt] d8c1d37 - [fuchsia] Don't include duplicate profiling symbols for Fuchsia
Alex Brachet via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 21 08:44:47 PDT 2022
Author: Tyler Mandry
Date: 2022-04-21T15:44:37Z
New Revision: d8c1d37ba37d22351e3edd4667e639898418419b
URL: https://github.com/llvm/llvm-project/commit/d8c1d37ba37d22351e3edd4667e639898418419b
DIFF: https://github.com/llvm/llvm-project/commit/d8c1d37ba37d22351e3edd4667e639898418419b.diff
LOG: [fuchsia] Don't include duplicate profiling symbols for Fuchsia
InstrProfilingPlatformLinux.c already provides these symbols. Linker order
saved us from noticing before.
Reviewed By: mcgrathr
Differential Revision: https://reviews.llvm.org/D124136
Added:
Modified:
compiler-rt/lib/profile/InstrProfilingPlatformOther.c
Removed:
################################################################################
diff --git a/compiler-rt/lib/profile/InstrProfilingPlatformOther.c b/compiler-rt/lib/profile/InstrProfilingPlatformOther.c
index 3e9b3ca0a0456..7f535e6a32d6a 100644
--- a/compiler-rt/lib/profile/InstrProfilingPlatformOther.c
+++ b/compiler-rt/lib/profile/InstrProfilingPlatformOther.c
@@ -7,8 +7,8 @@
\*===----------------------------------------------------------------------===*/
#if !defined(__APPLE__) && !defined(__linux__) && !defined(__FreeBSD__) && \
- !(defined(__sun__) && defined(__svr4__)) && !defined(__NetBSD__) && \
- !defined(_WIN32)
+ !defined(__Fuchsia__) && !(defined(__sun__) && defined(__svr4__)) && \
+ !defined(__NetBSD__) && !defined(_WIN32)
#include <stdlib.h>
#include <stdio.h>
More information about the llvm-commits
mailing list