9face69066
This changes the names reported in stack traces via the Chrome DevTools protocol to follow the WAT naming convention for functions. This aligns the behavior here with the rest of DevTools (i.e. the disassembly in the Sources panel and the Scope sidebar, as well as the Console REPL) to use one consistent naming scheme. Fixed: chromium:1159307 Doc: http://bit.ly/devtools-wasm-entities Bug: chromium:1162229, chromium:1164241, chromium:1071432 Change-Id: Ibe543f39c775944072073fe5f0959412529aa19b Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2878734 Reviewed-by: Yang Guo <yangguo@chromium.org> Reviewed-by: Clemens Backes <clemensb@chromium.org> Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Commit-Queue: Benedikt Meurer <bmeurer@chromium.org> Cr-Commit-Position: refs/heads/master@{#74456}
12 lines
232 B
Plaintext
12 lines
232 B
Plaintext
Tests unnamed function in wasm scripts
|
|
|
|
Running test: test
|
|
Running testFunction with generated wasm bytes...
|
|
Paused on 'debugger;'
|
|
Number of frames: 5
|
|
- [0] call_debugger
|
|
- [1] $func1
|
|
- [2] $main
|
|
- [3] testFunction
|
|
- [4]
|