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

Unified Diff: src/wasm/wasm-objects.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/inspector/wasm-translation.cc ('k') | src/wasm/wasm-objects.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/wasm/wasm-objects.h
diff --git a/src/wasm/wasm-objects.h b/src/wasm/wasm-objects.h
index 37875bde1610dc6f0ab806696cc4e165af1a7b7c..f368ce39efa2bd34e48486953090315c1ef735fe 100644
--- a/src/wasm/wasm-objects.h
+++ b/src/wasm/wasm-objects.h
@@ -305,6 +305,12 @@ class WasmCompiledModule : public FixedArray {
std::pair<std::string, std::vector<std::tuple<uint32_t, int, int>>>
DisassembleFunction(int func_index);
+ // Get a list of all possible breakpoints within a given range of this module.
+ bool GetPossibleBreakpoints(
+ const DebugInterface::Location& start,
+ const DebugInterface::Location& end,
+ std::vector<DebugInterface::Location>* locations) const;
+
private:
void InitId();
« no previous file with comments | « src/inspector/wasm-translation.cc ('k') | src/wasm/wasm-objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698