summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Hosek <phosek@chromium.org>2018-07-25 03:01:35 +0000
committerPetr Hosek <phosek@chromium.org>2018-07-25 03:01:35 +0000
commit47e5fcba57135025124192626dcb11d9578e4860 (patch)
tree75242ba6006b84bbc363fda09b67b658d4699b13 /compiler-rt/cmake
parentAdd design docs for upcoming file_time_type change. (diff)
downloadllvm-project-47e5fcba57135025124192626dcb11d9578e4860.tar.gz
llvm-project-47e5fcba57135025124192626dcb11d9578e4860.tar.bz2
llvm-project-47e5fcba57135025124192626dcb11d9578e4860.zip
[profile] Support profiling runtime on Fuchsia
This ports the profiling runtime on Fuchsia and enables the instrumentation. Unlike on other platforms, Fuchsia doesn't use files to dump the instrumentation data since on Fuchsia, filesystem may not be accessible to the instrumented process. We instead use the data sink to pass the profiling data to the system the same sanitizer runtimes do. Differential Revision: https://reviews.llvm.org/D47208 llvm-svn: 337881
Diffstat (limited to 'compiler-rt/cmake')
-rw-r--r--compiler-rt/cmake/config-ix.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/cmake/config-ix.cmake b/compiler-rt/cmake/config-ix.cmake
index 6bad751d789b..f3935ffd6fd2 100644
--- a/compiler-rt/cmake/config-ix.cmake
+++ b/compiler-rt/cmake/config-ix.cmake
@@ -557,7 +557,7 @@ else()
endif()
if (PROFILE_SUPPORTED_ARCH AND NOT LLVM_USE_SANITIZER AND
- OS_NAME MATCHES "Darwin|Linux|FreeBSD|Windows|Android|SunOS")
+ OS_NAME MATCHES "Darwin|Linux|FreeBSD|Windows|Android|Fuchsia|SunOS")
set(COMPILER_RT_HAS_PROFILE TRUE)
else()
set(COMPILER_RT_HAS_PROFILE FALSE)