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

Kamil Rytarowski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 11 15:02:10 PDT 2018


krytarowski added inline comments.


================
Comment at: compiler-rt/lib/profile/CMakeLists.txt:62
+  list(APPEND PROFILE_SOURCES
+    InstrProfilingPlatformFuchsia.c
+    InstrProfilingPlatformLinux.c)
----------------
Can we add these .c files unconditionally and just handle it with global `__Fuchsia__` preprocessor switch? This is already a common practice in compiler-rt.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D47208





More information about the llvm-commits mailing list