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

Unified Diff: runtime/vm/os_fuchsia.cc

Issue 2718523003: Fixed issue in MallocHooks where a MallocHookScope was accidentally removed during a merge, causing… (Closed)
Patch Set: Fixed issue in MallocHooks where a MallocHookScope was accidentally removed during a merge, causing… Created 3 years, 10 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/os_android.cc ('k') | runtime/vm/os_linux.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 9c850ed4dc377ae791d99dc58299bf481d18a5ff..1a96aaa3433b7ed21fb04abaf344cd814558f420 100644
--- a/runtime/vm/os_fuchsia.cc
+++ b/runtime/vm/os_fuchsia.cc
@@ -177,6 +177,12 @@ void OS::DebugBreak() {
}
+uintptr_t DART_NOINLINE OS::GetProgramCounter() {
+ return reinterpret_cast<uintptr_t>(
+ __builtin_extract_return_addr(__builtin_return_address(0)));
+}
+
+
char* OS::StrNDup(const char* s, intptr_t n) {
return strndup(s, n);
}
« no previous file with comments | « runtime/vm/os_android.cc ('k') | runtime/vm/os_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698