Chromium Code Reviews| Index: runtime/lib/stacktrace.h |
| diff --git a/runtime/lib/stacktrace.h b/runtime/lib/stacktrace.h |
| index fe67a9dcd9723ee19b778aba3b86dc901e35a0b0..c4820709211ba104e2eb7c8d57d1c0729a8c52f4 100644 |
| --- a/runtime/lib/stacktrace.h |
| +++ b/runtime/lib/stacktrace.h |
| @@ -8,6 +8,7 @@ |
| namespace dart { |
| class StackTrace; |
| +class RawStackTrace; |
| // Creates a StackTrace object from the current stack. Skips the |
| // first skip_frames Dart frames. |
| @@ -16,6 +17,9 @@ class StackTrace; |
| // assertion failures, etc. |
| const StackTrace& GetCurrentStackTrace(int skip_frames); |
|
rmacnak
2017/01/26 18:05:57
This function shouldn't return a handle...
Cutch
2017/01/31 23:45:30
This is old code. Acknowledged.
|
| +// Creates a StackTrace object to be attached to an exception. |
| +RawStackTrace* GetStackTraceForException(); |
| + |
| } // namespace dart |
| #endif // RUNTIME_LIB_STACKTRACE_H_ |