a0fd791875
This fixes the source position printed in the stack trace for exceptions thrown from within Wasm code. Specifically this affects the stack trace attached to the exception object, as well as the message propagated to the console. Both are tested by the new message test. R=clemensh@chromium.org TEST=message/fail/wasm-exception-throw BUG=v8:8091 Change-Id: I5b2f76191cf47457ac113dce9d9601a8a810ee19 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1591603 Reviewed-by: Clemens Hammacher <clemensh@chromium.org> Commit-Queue: Michael Starzinger <mstarzinger@chromium.org> Cr-Commit-Position: refs/heads/master@{#61239}
5 lines
140 B
Plaintext
5 lines
140 B
Plaintext
wasm-function[0]:3: RuntimeError: wasm exception
|
|
RuntimeError: wasm exception
|
|
at throw0 (wasm-function[0]:3)
|
|
at *%(basename)s:17:18
|