Commit 44826509 authored by Clemens Backes's avatar Clemens Backes Committed by Commit Bot

[wasm] Debug in Liftoff by default

This flips the --debug-in-liftoff flag to be on by default.
There are still some outstanding issues with that configuration, but not
more than with the interpreter configuration. Thus flip now, such that
we can fully focus on stabilizing that config.

R=ecmziegler@chromium.org

Bug: v8:10351
Change-Id: I7681f40aa2516557ef3ab4efd9a2c1f88e3b4df7
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2135727Reviewed-by: 's avatarEmanuel Ziegler <ecmziegler@chromium.org>
Commit-Queue: Clemens Backes <clemensb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#67018}
parent 3a524239
...@@ -718,10 +718,9 @@ DEFINE_BOOL(trace_wasm_memory, false, ...@@ -718,10 +718,9 @@ DEFINE_BOOL(trace_wasm_memory, false,
DEFINE_INT(wasm_tier_mask_for_testing, 0, DEFINE_INT(wasm_tier_mask_for_testing, 0,
"bitmask of functions to compile with TurboFan instead of Liftoff") "bitmask of functions to compile with TurboFan instead of Liftoff")
DEFINE_BOOL(debug_in_liftoff, false, DEFINE_BOOL(
"use Liftoff instead of the C++ interpreter for debugging " debug_in_liftoff, true,
"WebAssembly (experimental)") "use Liftoff instead of the C++ interpreter for debugging WebAssembly")
DEFINE_IMPLICATION(future, debug_in_liftoff)
DEFINE_BOOL(validate_asm, true, "validate asm.js modules before compiling") DEFINE_BOOL(validate_asm, true, "validate asm.js modules before compiling")
DEFINE_BOOL(suppress_asm_messages, false, DEFINE_BOOL(suppress_asm_messages, false,
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
// Flags: --debug-in-liftoff
const {session, contextGroup, Protocol} = const {session, contextGroup, Protocol} =
InspectorTest.start('Test inspecting register values in Liftoff.'); InspectorTest.start('Test inspecting register values in Liftoff.');
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
// Flags: --debug-in-liftoff
let {session, contextGroup, Protocol} = InspectorTest.start( let {session, contextGroup, Protocol} = InspectorTest.start(
'Test retrieving scope information from compiled Liftoff frames'); 'Test retrieving scope information from compiled Liftoff frames');
session.setupScriptMap(); session.setupScriptMap();
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
// Flags: --debug-in-liftoff
let {session, contextGroup, Protocol} = InspectorTest.start( let {session, contextGroup, Protocol} = InspectorTest.start(
'Test retrieving scope information when pausing in wasm functions'); 'Test retrieving scope information when pausing in wasm functions');
session.setupScriptMap(); session.setupScriptMap();
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
// Flags: --debug-in-liftoff
const {session, contextGroup, Protocol} = const {session, contextGroup, Protocol} =
InspectorTest.start('Tests stepping through wasm scripts.'); InspectorTest.start('Tests stepping through wasm scripts.');
session.setupScriptMap(); session.setupScriptMap();
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
// Flags: --debug-in-liftoff
let {session, contextGroup, Protocol} = let {session, contextGroup, Protocol} =
InspectorTest.start('Tests stepping through wasm scripts by byte offsets'); InspectorTest.start('Tests stepping through wasm scripts by byte offsets');
session.setupScriptMap(); session.setupScriptMap();
......
...@@ -14,15 +14,12 @@ ...@@ -14,15 +14,12 @@
# https://crbug.com/v8/9029 # https://crbug.com/v8/9029
'debugger/script-on-after-compile-snapshot': [SKIP], 'debugger/script-on-after-compile-snapshot': [SKIP],
}], # ALWAYS
##############################################################################
['variant == future', {
# https://crbug.com/v8/10356 # https://crbug.com/v8/10356
# This test worked in the wasm interpreter, but fails when using Liftoff for # This test worked in the wasm interpreter, but fails when using Liftoff for
# debugging. # debugging.
'debugger/wasm-anyref-global': [FAIL], 'debugger/wasm-anyref-global': [FAIL],
}], }], # ALWAYS
############################################################################## ##############################################################################
['system == android', { ['system == android', {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment