Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1374)

Unified Diff: runtime/vm/os_fuchsia.cc

Issue 2154713004: Fuchsia: Fixes for Debug build (Closed) Base URL: https://chromium.googlesource.com/external/github.com/dart-lang/sdk/@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/flag_list.h ('k') | runtime/vm/os_thread_fuchsia.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/os_fuchsia.cc
diff --git a/runtime/vm/os_fuchsia.cc b/runtime/vm/os_fuchsia.cc
index 5272825c0370aa688a89ac512a0fcc84e00b4b38..9a4151f30a45dcab28f4a596a0a1f94688a85c72 100644
--- a/runtime/vm/os_fuchsia.cc
+++ b/runtime/vm/os_fuchsia.cc
@@ -15,6 +15,13 @@
namespace dart {
+#ifndef PRODUCT
+
+DEFINE_FLAG(bool, generate_perf_events_symbols, false,
+ "Generate events symbols for profiling with perf");
+
+#endif // !PRODUCT
+
const char* OS::Name() {
return "fuchsia";
}
@@ -239,7 +246,11 @@ bool OS::StringToInt64(const char* str, int64_t* value) {
void OS::RegisterCodeObservers() {
- UNIMPLEMENTED();
+#ifndef PRODUCT
+ if (FLAG_generate_perf_events_symbols) {
+ UNIMPLEMENTED();
+ }
+#endif // !PRODUCT
}
« no previous file with comments | « runtime/vm/flag_list.h ('k') | runtime/vm/os_thread_fuchsia.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698