Skip to content

Commit afeb461

Browse files
LiedtkeV8-internal LUCI CQ
authored andcommitted
[v8] Randomize --jit-fuzzing which implies --no-lazy
Also sometimes explicitly enable or disable lazy compilation. Bug: 475707969 Change-Id: Ic13b6843ae0d478f0d9e6ce77a0d7318d1f47e03 Reviewed-on: https://chrome-internal-review.googlesource.com/c/v8/fuzzilli/+/8999276 Commit-Queue: Matthias Liedtke <mliedtke@google.com> Reviewed-by: Leszek Swirski <leszeks@google.com> Auto-Submit: Matthias Liedtke <mliedtke@google.com>
1 parent a5ef634 commit afeb461

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

Sources/FuzzilliCli/Profiles/V8CommonProfile.swift

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,6 @@ public func v8ProcessArgs(randomize: Bool, forSandbox: Bool) -> [String] {
773773
"--omit-quit",
774774
"--allow-natives-syntax",
775775
"--fuzzing",
776-
"--jit-fuzzing",
777776
"--future",
778777
"--harmony",
779778
"--experimental-fuzzing",
@@ -813,6 +812,10 @@ public func v8ProcessArgs(randomize: Bool, forSandbox: Bool) -> [String] {
813812
args.append("--no-short-builtin-calls")
814813
}
815814

815+
if probability(0.8) {
816+
args.append("--jit-fuzzing")
817+
}
818+
816819
// Disabling Liftoff enables "direct" coverage for the optimizing compiler, though some
817820
// features (like speculative inlining) require a combination of Liftoff and Turbofan.
818821
// Note that this flag only affects WebAssembly.
@@ -1033,6 +1036,8 @@ public func v8ProcessArgs(randomize: Bool, forSandbox: Bool) -> [String] {
10331036
chooseBooleanFlag("always-osr")
10341037
chooseBooleanFlag("concurrent-osr")
10351038
chooseBooleanFlag("force-slow-path")
1039+
chooseBooleanFlag("lazy")
1040+
chooseBooleanFlag("lazy-eval")
10361041

10371042
// Maglev related flags
10381043
chooseBooleanFlag("maglev-inline-api-calls")

0 commit comments

Comments
 (0)