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

Unified Diff: src/debug/debug-interface.h

Issue 2536763002: [inspector] [wasm] Implement GetPossibleBreakpoints (Closed)
Patch Set: Rebase Created 4 years 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 | « src/api.cc ('k') | src/inspector/v8-debugger-agent-impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/debug/debug-interface.h
diff --git a/src/debug/debug-interface.h b/src/debug/debug-interface.h
index cdb0c968b396f86b7a70b05353513ffecb750143..1cc657ab4c12d3d2241fe6f7cf03a4817320f9f1 100644
--- a/src/debug/debug-interface.h
+++ b/src/debug/debug-interface.h
@@ -206,6 +206,8 @@ class DebugInterface {
int NumFunctions() const;
int NumImportedFunctions() const;
+ std::pair<int, int> GetFunctionRange(int function_index) const;
+
/**
* Compute the disassembly of a wasm function.
* Returns the disassembly string and a list of <byte_offset, line, column>
« no previous file with comments | « src/api.cc ('k') | src/inspector/v8-debugger-agent-impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698