[PATCH] D68351: [profile] Add a mode to continuously sync counter updates to a file
Vedant Kumar via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 19 12:34:12 PST 2019
vsk marked an inline comment as done.
vsk added inline comments.
================
Comment at: compiler-rt/lib/profile/InstrProfilingFile.c:377
+#if defined(__Fuchsia__) || defined(_WIN32)
+ PROF_ERR("%s\n", "Continuous mode not yet supported on Fuchsia or Windows.");
+#else // defined(__Fuchsia__) || defined(_WIN32)
----------------
dmajor wrote:
> @vsk Doesn't this unconditionally break profiling on Fuschia/Windows? Should there at least be a check for `__llvm_profile_is_continuous_mode_enabled()` before erroring out? I'm currently testing my project's Windows build with trunk, and it's failing here even though we didn't enable continuous mode.
Yes, sorry about the breakage, this should be addressed by 1aacf58819a27f428a46ce839a0ee797af03c1fd.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D68351/new/
https://reviews.llvm.org/D68351
More information about the cfe-commits
mailing list