[PATCH] D47208: [profile] Support profiling runtime on Fuchsia

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 22 10:47:19 PDT 2018


phosek created this revision.
phosek added reviewers: mcgrathr, vsk, davidxl.
Herald added subscribers: llvm-commits, hiraditya, fedor.sergeev, krytarowski, mgorny, srhines.

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.


Repository:
  rL LLVM

https://reviews.llvm.org/D47208

Files:
  clang/lib/Driver/ToolChains/Fuchsia.cpp
  compiler-rt/cmake/config-ix.cmake
  compiler-rt/lib/profile/CMakeLists.txt
  compiler-rt/lib/profile/InstrProfilingPlatformFuchsia.c
  compiler-rt/lib/profile/InstrProfilingPlatformLinux.c
  llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47208.148052.patch
Type: text/x-patch
Size: 6422 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180522/96ba1683/attachment.bin>


More information about the llvm-commits mailing list