Chromium Code Reviews| 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); |