Title: [252694] trunk
Revision
252694
Author
[email protected]
Date
2019-11-20 10:50:53 -0800 (Wed, 20 Nov 2019)

Log Message

Flaky JSC test: stress/stack-overflow-in-yarr-byteCompile.js.dfg-eager.
https://bugs.webkit.org/show_bug.cgi?id=204405

Reviewed by Alexey Proskuryakov.

JSTests:

The test was timing out because it's slow.  We don't really need to run this test
on all configurations.  So, we'll change it to on run with the default
configuration.  Also declare the test as "//@ slow!".

* stress/stack-overflow-in-yarr-byteCompile.js:

Source/_javascript_Core:

$vm.allWithStackSize() manipulates the stack in ways that will freak out ASan.
So, add SUPPRESS_ASAN to functionCallWithStackSize() to tell ASan to ignore it.

* tools/JSDollarVM.cpp:

Modified Paths

Diff

Modified: trunk/JSTests/ChangeLog (252693 => 252694)


--- trunk/JSTests/ChangeLog	2019-11-20 18:39:21 UTC (rev 252693)
+++ trunk/JSTests/ChangeLog	2019-11-20 18:50:53 UTC (rev 252694)
@@ -1,3 +1,16 @@
+2019-11-20  Mark Lam  <[email protected]>
+
+        Flaky JSC test: stress/stack-overflow-in-yarr-byteCompile.js.dfg-eager.
+        https://bugs.webkit.org/show_bug.cgi?id=204405
+
+        Reviewed by Alexey Proskuryakov.
+
+        The test was timing out because it's slow.  We don't really need to run this test
+        on all configurations.  So, we'll change it to on run with the default
+        configuration.  Also declare the test as "//@ slow!".
+
+        * stress/stack-overflow-in-yarr-byteCompile.js:
+
 2019-11-19  Ross Kirsling  <[email protected]>
 
         Implement String.prototype.replaceAll

Modified: trunk/JSTests/stress/stack-overflow-in-yarr-byteCompile.js (252693 => 252694)


--- trunk/JSTests/stress/stack-overflow-in-yarr-byteCompile.js	2019-11-20 18:39:21 UTC (rev 252693)
+++ trunk/JSTests/stress/stack-overflow-in-yarr-byteCompile.js	2019-11-20 18:50:53 UTC (rev 252694)
@@ -1,5 +1,6 @@
-//@ requireOptions("--disableOptionsFreezingForTesting")
+//@ runDefault("--disableOptionsFreezingForTesting")
 //@ skip if $hostOS != "darwin" or $architecture != "x86-64"
+//@ slow!
 
 function foo() {
     class C {

Modified: trunk/Source/_javascript_Core/ChangeLog (252693 => 252694)


--- trunk/Source/_javascript_Core/ChangeLog	2019-11-20 18:39:21 UTC (rev 252693)
+++ trunk/Source/_javascript_Core/ChangeLog	2019-11-20 18:50:53 UTC (rev 252694)
@@ -1,3 +1,15 @@
+2019-11-20  Mark Lam  <[email protected]>
+
+        Flaky JSC test: stress/stack-overflow-in-yarr-byteCompile.js.dfg-eager.
+        https://bugs.webkit.org/show_bug.cgi?id=204405
+
+        Reviewed by Alexey Proskuryakov.
+
+        $vm.allWithStackSize() manipulates the stack in ways that will freak out ASan.
+        So, add SUPPRESS_ASAN to functionCallWithStackSize() to tell ASan to ignore it.
+
+        * tools/JSDollarVM.cpp:
+
 2019-11-20  Caio Lima  <[email protected]>
 
         Regression (r252680): JSCOnly build broken: no matching function for call to JSC::DFG::SpeculativeJIT::jsValueResult

Modified: trunk/Source/_javascript_Core/tools/JSDollarVM.cpp (252693 => 252694)


--- trunk/Source/_javascript_Core/tools/JSDollarVM.cpp	2019-11-20 18:39:21 UTC (rev 252693)
+++ trunk/Source/_javascript_Core/tools/JSDollarVM.cpp	2019-11-20 18:50:53 UTC (rev 252694)
@@ -2016,6 +2016,7 @@
 }
 #endif // ENABLE(MASM_PROBE)
 
+SUPPRESS_ASAN
 static EncodedJSValue JSC_HOST_CALL functionCallWithStackSize(JSGlobalObject* globalObject, CallFrame* callFrame)
 {
     DollarVMAssertScope assertScope;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to