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

Unified Diff: runtime/vm/os.h

Issue 2711353003: Fixed tests not having MallocHooks initialized for tests in release mode. (Closed)
Patch Set: 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/object_test.cc ('k') | runtime/vm/os_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/os.h
diff --git a/runtime/vm/os.h b/runtime/vm/os.h
index b90b06da8238877bc5b0cd690b6ab95f6f29337e..9f1de5cb4bf15a232a49c7d09380fc02e6cd35e0 100644
--- a/runtime/vm/os.h
+++ b/runtime/vm/os.h
@@ -95,6 +95,9 @@ class OS {
// Debug break.
static void DebugBreak();
+ // Returns the current program counter.
+ static uintptr_t GetProgramCounter();
+
// Not all platform support strndup.
static char* StrNDup(const char* s, intptr_t n);
static intptr_t StrNLen(const char* s, intptr_t n);
« no previous file with comments | « runtime/vm/object_test.cc ('k') | runtime/vm/os_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698