mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 08:24:39 +00:00
[vm] Removes FLAG_enable_testing_pragmas from native_api_impl
This removes the need for passing the flag to use Dart_ExecuteInternalCommand, which is done in several tests that otherwise have nothing to do with testing pragmas. Also adds status file skips for precomp-win targets that currently crash due to https://github.com/dart-lang/sdk/issues/40579. TEST=CQ Bug: https://github.com/dart-lang/sdk/issues/46059, https://github.com/dart-lang/sdk/issues/46061 Cq-Include-Trybots: luci.dart.try:vm-kernel-precomp-win-release-x64-try,vm-kernel-precomp-nnbd-win-release-x64-try,vm-kernel-win-debug-x64-try Change-Id: I3024ad9bedb7a74abaaaa1020b7525e5d8b1bd47 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/200461 Commit-Queue: Clement Skau <cskau@google.com> Reviewed-by: Martin Kustermann <kustermann@google.com>
This commit is contained in:
parent
195c163d7f
commit
cb2a625d7c
|
@ -233,8 +233,6 @@ struct RunInSafepointAndRWCodeArgs {
|
|||
};
|
||||
|
||||
DART_EXPORT void* Dart_ExecuteInternalCommand(const char* command, void* arg) {
|
||||
if (!FLAG_enable_testing_pragmas) return nullptr;
|
||||
|
||||
if (strcmp(command, "gc-on-nth-allocation") == 0) {
|
||||
TransitionNativeToVM _(Thread::Current());
|
||||
intptr_t argument = reinterpret_cast<intptr_t>(arg);
|
||||
|
|
|
@ -4,14 +4,13 @@
|
|||
//
|
||||
// Dart test program for testing dart:ffi function pointers with callbacks.
|
||||
//
|
||||
// VMOptions=--enable-testing-pragmas
|
||||
// VMOptions=--enable-testing-pragmas --stacktrace-every=100
|
||||
// VMOptions=--enable-testing-pragmas --write-protect-code --no-dual-map-code
|
||||
// VMOptions=--enable-testing-pragmas --write-protect-code --no-dual-map-code --stacktrace-every=100
|
||||
// VMOptions=--use-slow-path --enable-testing-pragmas
|
||||
// VMOptions=--use-slow-path --enable-testing-pragmas --stacktrace-every=100
|
||||
// VMOptions=--use-slow-path --enable-testing-pragmas --write-protect-code --no-dual-map-code
|
||||
// VMOptions=--use-slow-path --enable-testing-pragmas --write-protect-code --no-dual-map-code --stacktrace-every=100
|
||||
// VMOptions=--stacktrace-every=100
|
||||
// VMOptions=--write-protect-code --no-dual-map-code
|
||||
// VMOptions=--write-protect-code --no-dual-map-code --stacktrace-every=100
|
||||
// VMOptions=--use-slow-path
|
||||
// VMOptions=--use-slow-path --stacktrace-every=100
|
||||
// VMOptions=--use-slow-path --write-protect-code --no-dual-map-code
|
||||
// VMOptions=--use-slow-path --write-protect-code --no-dual-map-code --stacktrace-every=100
|
||||
// SharedObjects=ffi_test_functions
|
||||
|
||||
import 'dart:ffi';
|
||||
|
|
|
@ -4,16 +4,15 @@
|
|||
|
||||
// Dart test program for testing dart:ffi function pointers with callbacks.
|
||||
//
|
||||
// VMOptions=--enable-testing-pragmas
|
||||
// VMOptions=--enable-testing-pragmas --stacktrace-every=100
|
||||
// VMOptions=--enable-testing-pragmas --write-protect-code --no-dual-map-code
|
||||
// VMOptions=--enable-testing-pragmas --write-protect-code --no-dual-map-code --stacktrace-every=100
|
||||
// VMOptions=--use-slow-path --enable-testing-pragmas
|
||||
// VMOptions=--use-slow-path --enable-testing-pragmas --stacktrace-every=100
|
||||
// VMOptions=--use-slow-path --enable-testing-pragmas --write-protect-code --no-dual-map-code
|
||||
// VMOptions=--use-slow-path --enable-testing-pragmas --write-protect-code --no-dual-map-code --stacktrace-every=100
|
||||
// VMOptions=--stacktrace-every=100
|
||||
// VMOptions=--write-protect-code --no-dual-map-code
|
||||
// VMOptions=--write-protect-code --no-dual-map-code --stacktrace-every=100
|
||||
// VMOptions=--use-slow-path
|
||||
// VMOptions=--use-slow-path --stacktrace-every=100
|
||||
// VMOptions=--use-slow-path --write-protect-code --no-dual-map-code
|
||||
// VMOptions=--use-slow-path --write-protect-code --no-dual-map-code --stacktrace-every=100
|
||||
// VMOptions=--use-bare-instructions=false
|
||||
// VMOptions=--enable-testing-pragmas --dwarf_stack_traces --no-retain_function_objects --no-retain_code_objects
|
||||
// VMOptions=--dwarf_stack_traces --no-retain_function_objects --no-retain_code_objects
|
||||
// SharedObjects=ffi_test_functions
|
||||
|
||||
import 'dart:ffi';
|
||||
|
|
|
@ -5,14 +5,13 @@
|
|||
// Dart test program for testing dart:ffi function pointers with callbacks.
|
||||
//
|
||||
// VMOptions=--deterministic --optimization-counter-threshold=10
|
||||
// VMOptions=--enable-testing-pragmas
|
||||
// VMOptions=--enable-testing-pragmas --stacktrace-every=100
|
||||
// VMOptions=--enable-testing-pragmas --write-protect-code --no-dual-map-code
|
||||
// VMOptions=--enable-testing-pragmas --write-protect-code --no-dual-map-code --stacktrace-every=100
|
||||
// VMOptions=--use-slow-path --enable-testing-pragmas
|
||||
// VMOptions=--use-slow-path --enable-testing-pragmas --stacktrace-every=100
|
||||
// VMOptions=--use-slow-path --enable-testing-pragmas --write-protect-code --no-dual-map-code
|
||||
// VMOptions=--use-slow-path --enable-testing-pragmas --write-protect-code --no-dual-map-code --stacktrace-every=100
|
||||
// VMOptions=--stacktrace-every=100
|
||||
// VMOptions=--write-protect-code --no-dual-map-code
|
||||
// VMOptions=--write-protect-code --no-dual-map-code --stacktrace-every=100
|
||||
// VMOptions=--use-slow-path
|
||||
// VMOptions=--use-slow-path --stacktrace-every=100
|
||||
// VMOptions=--use-slow-path --write-protect-code --no-dual-map-code
|
||||
// VMOptions=--use-slow-path --write-protect-code --no-dual-map-code --stacktrace-every=100
|
||||
// SharedObjects=ffi_test_functions
|
||||
|
||||
import 'dart:ffi';
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
// Check that JumpToFrame does not use LR clobbered by slow path of
|
||||
// TransitionNativeToGenerated.
|
||||
// VMOptions=--use-slow-path --enable-testing-pragmas
|
||||
// VMOptions=--use-slow-path
|
||||
|
||||
import 'dart:ffi';
|
||||
|
||||
|
|
|
@ -2,19 +2,18 @@
|
|||
// for details. All rights reserved. Use of this source code is governed by a
|
||||
// BSD-style license that can be found in the LICENSE file.
|
||||
|
||||
// VMOptions=--enable-testing-pragmas --enable-isolate-groups --experimental-enable-isolate-groups-jit
|
||||
// VMOptions=--enable-testing-pragmas --no-enable-isolate-groups
|
||||
//
|
||||
// Dart test program for testing dart:ffi function pointers with callbacks.
|
||||
//
|
||||
// VMOptions=--enable-testing-pragmas
|
||||
// VMOptions=--enable-testing-pragmas --stacktrace-every=100
|
||||
// VMOptions=--enable-testing-pragmas --write-protect-code --no-dual-map-code
|
||||
// VMOptions=--enable-testing-pragmas --write-protect-code --no-dual-map-code --stacktrace-every=100
|
||||
// VMOptions=--use-slow-path --enable-testing-pragmas
|
||||
// VMOptions=--use-slow-path --enable-testing-pragmas --stacktrace-every=100
|
||||
// VMOptions=--use-slow-path --enable-testing-pragmas --write-protect-code --no-dual-map-code
|
||||
// VMOptions=--use-slow-path --enable-testing-pragmas --write-protect-code --no-dual-map-code --stacktrace-every=100
|
||||
// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit
|
||||
// VMOptions=--no-enable-isolate-groups
|
||||
// VMOptions=--stacktrace-every=100
|
||||
// VMOptions=--write-protect-code --no-dual-map-code
|
||||
// VMOptions=--write-protect-code --no-dual-map-code --stacktrace-every=100
|
||||
// VMOptions=--use-slow-path
|
||||
// VMOptions=--use-slow-path --stacktrace-every=100
|
||||
// VMOptions=--use-slow-path --write-protect-code --no-dual-map-code
|
||||
// VMOptions=--use-slow-path --write-protect-code --no-dual-map-code --stacktrace-every=100
|
||||
// SharedObjects=ffi_test_functions
|
||||
|
||||
import 'dart:ffi';
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
// for details. All rights reserved. Use of this source code is governed by a
|
||||
// BSD-style license that can be found in the LICENSE file.
|
||||
//
|
||||
// VMOptions=--deterministic --optimization-counter-threshold=500 --enable-testing-pragmas
|
||||
// VMOptions=--deterministic --optimization-counter-threshold=-1 --enable-testing-pragmas
|
||||
// VMOptions=--deterministic --optimization-counter-threshold=500 --enable-testing-pragmas --no-dual-map-code --write-protect-code
|
||||
// VMOptions=--deterministic --optimization-counter-threshold=-1 --enable-testing-pragmas --no-dual-map-code --write-protect-code
|
||||
// VMOptions=--enable-testing-pragmas --no-dual-map-code --write-protect-code
|
||||
// VMOptions=--enable-testing-pragmas --no-dual-map-code --write-protect-code --stacktrace-every=100
|
||||
// VMOptions=--deterministic --optimization-counter-threshold=500
|
||||
// VMOptions=--deterministic --optimization-counter-threshold=-1
|
||||
// VMOptions=--deterministic --optimization-counter-threshold=500 --no-dual-map-code --write-protect-code
|
||||
// VMOptions=--deterministic --optimization-counter-threshold=-1 --no-dual-map-code --write-protect-code
|
||||
// VMOptions=--no-dual-map-code --write-protect-code
|
||||
// VMOptions=--no-dual-map-code --write-protect-code --stacktrace-every=100
|
||||
//
|
||||
// Dart test program for stress-testing boxing and GC in return paths from FFI
|
||||
// trampolines.
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
// BSD-style license that can be found in the LICENSE file.
|
||||
//
|
||||
// SharedObjects=ffi_test_functions
|
||||
// VMOptions=--enable-testing-pragmas
|
||||
|
||||
import 'dart:ffi';
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
//
|
||||
// Dart test program for testing dart:ffi struct pointers.
|
||||
//
|
||||
// VMOptions=--deterministic --enable-testing-pragmas
|
||||
// VMOptions=--deterministic
|
||||
//
|
||||
// SharedObjects=ffi_test_functions
|
||||
//
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
//
|
||||
// Dart test program for testing dart:ffi struct pointers.
|
||||
//
|
||||
// VMOptions=--deterministic --enable-testing-pragmas
|
||||
// VMOptions=--deterministic
|
||||
//
|
||||
// SharedObjects=ffi_test_functions
|
||||
|
||||
|
|
|
@ -4,14 +4,13 @@
|
|||
//
|
||||
// Dart test program for testing dart:ffi function pointers with callbacks.
|
||||
//
|
||||
// VMOptions=--enable-testing-pragmas
|
||||
// VMOptions=--enable-testing-pragmas --stacktrace-every=100
|
||||
// VMOptions=--enable-testing-pragmas --write-protect-code --no-dual-map-code
|
||||
// VMOptions=--enable-testing-pragmas --write-protect-code --no-dual-map-code --stacktrace-every=100
|
||||
// VMOptions=--use-slow-path --enable-testing-pragmas
|
||||
// VMOptions=--use-slow-path --enable-testing-pragmas --stacktrace-every=100
|
||||
// VMOptions=--use-slow-path --enable-testing-pragmas --write-protect-code --no-dual-map-code
|
||||
// VMOptions=--use-slow-path --enable-testing-pragmas --write-protect-code --no-dual-map-code --stacktrace-every=100
|
||||
// VMOptions=--stacktrace-every=100
|
||||
// VMOptions=--write-protect-code --no-dual-map-code
|
||||
// VMOptions=--write-protect-code --no-dual-map-code --stacktrace-every=100
|
||||
// VMOptions=--use-slow-path
|
||||
// VMOptions=--use-slow-path --stacktrace-every=100
|
||||
// VMOptions=--use-slow-path --write-protect-code --no-dual-map-code
|
||||
// VMOptions=--use-slow-path --write-protect-code --no-dual-map-code --stacktrace-every=100
|
||||
// SharedObjects=ffi_test_functions
|
||||
|
||||
// @dart = 2.9
|
||||
|
|
|
@ -6,16 +6,15 @@
|
|||
|
||||
// Dart test program for testing dart:ffi function pointers with callbacks.
|
||||
//
|
||||
// VMOptions=--enable-testing-pragmas
|
||||
// VMOptions=--enable-testing-pragmas --stacktrace-every=100
|
||||
// VMOptions=--enable-testing-pragmas --write-protect-code --no-dual-map-code
|
||||
// VMOptions=--enable-testing-pragmas --write-protect-code --no-dual-map-code --stacktrace-every=100
|
||||
// VMOptions=--use-slow-path --enable-testing-pragmas
|
||||
// VMOptions=--use-slow-path --enable-testing-pragmas --stacktrace-every=100
|
||||
// VMOptions=--use-slow-path --enable-testing-pragmas --write-protect-code --no-dual-map-code
|
||||
// VMOptions=--use-slow-path --enable-testing-pragmas --write-protect-code --no-dual-map-code --stacktrace-every=100
|
||||
// VMOptions=--stacktrace-every=100
|
||||
// VMOptions=--write-protect-code --no-dual-map-code
|
||||
// VMOptions=--write-protect-code --no-dual-map-code --stacktrace-every=100
|
||||
// VMOptions=--use-slow-path
|
||||
// VMOptions=--use-slow-path --stacktrace-every=100
|
||||
// VMOptions=--use-slow-path --write-protect-code --no-dual-map-code
|
||||
// VMOptions=--use-slow-path --write-protect-code --no-dual-map-code --stacktrace-every=100
|
||||
// VMOptions=--use-bare-instructions=false
|
||||
// VMOptions=--enable-testing-pragmas --dwarf_stack_traces --no-retain_function_objects --no-retain_code_objects
|
||||
// VMOptions=--dwarf_stack_traces --no-retain_function_objects --no-retain_code_objects
|
||||
// SharedObjects=ffi_test_functions
|
||||
|
||||
import 'dart:ffi';
|
||||
|
|
|
@ -7,14 +7,13 @@
|
|||
// Dart test program for testing dart:ffi function pointers with callbacks.
|
||||
//
|
||||
// VMOptions=--deterministic --optimization-counter-threshold=10
|
||||
// VMOptions=--enable-testing-pragmas
|
||||
// VMOptions=--enable-testing-pragmas --stacktrace-every=100
|
||||
// VMOptions=--enable-testing-pragmas --write-protect-code --no-dual-map-code
|
||||
// VMOptions=--enable-testing-pragmas --write-protect-code --no-dual-map-code --stacktrace-every=100
|
||||
// VMOptions=--use-slow-path --enable-testing-pragmas
|
||||
// VMOptions=--use-slow-path --enable-testing-pragmas --stacktrace-every=100
|
||||
// VMOptions=--use-slow-path --enable-testing-pragmas --write-protect-code --no-dual-map-code
|
||||
// VMOptions=--use-slow-path --enable-testing-pragmas --write-protect-code --no-dual-map-code --stacktrace-every=100
|
||||
// VMOptions=--stacktrace-every=100
|
||||
// VMOptions=--write-protect-code --no-dual-map-code
|
||||
// VMOptions=--write-protect-code --no-dual-map-code --stacktrace-every=100
|
||||
// VMOptions=--use-slow-path
|
||||
// VMOptions=--use-slow-path --stacktrace-every=100
|
||||
// VMOptions=--use-slow-path --write-protect-code --no-dual-map-code
|
||||
// VMOptions=--use-slow-path --write-protect-code --no-dual-map-code --stacktrace-every=100
|
||||
// SharedObjects=ffi_test_functions
|
||||
|
||||
import 'dart:ffi';
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
// Check that JumpToFrame does not use LR clobbered by slow path of
|
||||
// TransitionNativeToGenerated.
|
||||
// VMOptions=--use-slow-path --enable-testing-pragmas
|
||||
// VMOptions=--use-slow-path
|
||||
|
||||
import 'dart:ffi';
|
||||
|
||||
|
|
|
@ -4,20 +4,18 @@
|
|||
|
||||
// @dart = 2.9
|
||||
|
||||
// VMOptions=--enable-testing-pragmas --enable-isolate-groups --experimental-enable-isolate-groups-jit
|
||||
// VMOptions=--enable-testing-pragmas --no-enable-isolate-groups
|
||||
//
|
||||
// Dart test program for testing dart:ffi function pointers with callbacks.
|
||||
//
|
||||
// VMOptions=--enable-testing-pragmas
|
||||
// VMOptions=--enable-testing-pragmas --stacktrace-every=100
|
||||
// VMOptions=--enable-testing-pragmas --write-protect-code --no-dual-map-code
|
||||
// VMOptions=--enable-testing-pragmas --write-protect-code --no-dual-map-code --stacktrace-every=100
|
||||
// VMOptions=--use-slow-path --enable-testing-pragmas
|
||||
// VMOptions=--use-slow-path --enable-testing-pragmas --stacktrace-every=100
|
||||
// VMOptions=--use-slow-path --enable-testing-pragmas --write-protect-code --no-dual-map-code
|
||||
// VMOptions=--use-slow-path --enable-testing-pragmas --write-protect-code --no-dual-map-code --stacktrace-every=100
|
||||
// SharedObjects=ffi_test_functions
|
||||
// VMOptions=--enable-isolate-groups --experimental-enable-isolate-groups-jit
|
||||
// VMOptions=--no-enable-isolate-groups
|
||||
// VMOptions=--stacktrace-every=100
|
||||
// VMOptions=--use-slow-path
|
||||
// VMOptions=--use-slow-path --stacktrace-every=100
|
||||
// VMOptions=--use-slow-path --write-protect-code --no-dual-map-code
|
||||
// VMOptions=--use-slow-path --write-protect-code --no-dual-map-code --stacktrace-every=100
|
||||
// VMOptions=--write-protect-code --no-dual-map-code
|
||||
// VMOptions=--write-protect-code --no-dual-map-code --stacktrace-every=100
|
||||
|
||||
import 'dart:ffi';
|
||||
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
// for details. All rights reserved. Use of this source code is governed by a
|
||||
// BSD-style license that can be found in the LICENSE file.
|
||||
//
|
||||
// VMOptions=--deterministic --optimization-counter-threshold=500 --enable-testing-pragmas
|
||||
// VMOptions=--deterministic --optimization-counter-threshold=-1 --enable-testing-pragmas
|
||||
// VMOptions=--deterministic --optimization-counter-threshold=500 --enable-testing-pragmas --no-dual-map-code --write-protect-code
|
||||
// VMOptions=--deterministic --optimization-counter-threshold=-1 --enable-testing-pragmas --no-dual-map-code --write-protect-code
|
||||
// VMOptions=--enable-testing-pragmas --no-dual-map-code --write-protect-code
|
||||
// VMOptions=--enable-testing-pragmas --no-dual-map-code --write-protect-code --stacktrace-every=100
|
||||
// VMOptions=--deterministic --optimization-counter-threshold=500
|
||||
// VMOptions=--deterministic --optimization-counter-threshold=-1
|
||||
// VMOptions=--deterministic --optimization-counter-threshold=500 --no-dual-map-code --write-protect-code
|
||||
// VMOptions=--deterministic --optimization-counter-threshold=-1 --no-dual-map-code --write-protect-code
|
||||
// VMOptions=--no-dual-map-code --write-protect-code
|
||||
// VMOptions=--no-dual-map-code --write-protect-code --stacktrace-every=100
|
||||
//
|
||||
// Dart test program for stress-testing boxing and GC in return paths from FFI
|
||||
// trampolines.
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
// BSD-style license that can be found in the LICENSE file.
|
||||
//
|
||||
// SharedObjects=ffi_test_functions
|
||||
// VMOptions=--enable-testing-pragmas
|
||||
|
||||
// @dart = 2.9
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
//
|
||||
// Dart test program for testing dart:ffi struct pointers.
|
||||
//
|
||||
// VMOptions=--deterministic --enable-testing-pragmas
|
||||
// VMOptions=--deterministic
|
||||
//
|
||||
// SharedObjects=ffi_test_functions
|
||||
//
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
//
|
||||
// Dart test program for testing dart:ffi struct pointers.
|
||||
//
|
||||
// VMOptions=--deterministic --enable-testing-pragmas
|
||||
// VMOptions=--deterministic
|
||||
//
|
||||
// SharedObjects=ffi_test_functions
|
||||
|
||||
|
|
Loading…
Reference in a new issue