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

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 11 14:56:14 PDT 2018


phosek added inline comments.


================
Comment at: compiler-rt/lib/profile/InstrProfilingPlatformFuchsia.c:147
+void __llvm_profile_initialize_file(void) {
+  /* Unsupported */
+}
----------------
davidxl wrote:
> Perhaps emit a PROF_ERR here.
I cannot do that since this function is always invoked by `RegisterRuntime()` during initialization (https://reviews.llvm.org/source/compiler-rt/browse/compiler-rt/trunk/lib/profile/InstrProfilingRuntime.cc;333870$24), otherwise I'd avoid providing this function altogether.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D47208





More information about the llvm-commits mailing list