v8/test/mjsunit/regress/wasm
Seth Brenith df8548cd5b Touch guard pages when allocating stack frames
On Windows, expanding the stack by more than 4 KB at a time can cause
access violations. This change fixes a few known cases (and includes
unit tests for those), and attempts to make stack expansion more
consistent overall by using the AllocateStackSpace helper method
everywhere we can, even when the offset is a small constant.

On arm64, there was already a consistent method for stack pointer
manipulation using the Claim and Drop methods, so Claim is updated to
touch every page.

Bug: v8:9017
Change-Id: I2dbbceeebbdefaf45803e9b621fe83f52234a395
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1570666
Commit-Queue: Seth Brenith <seth.brenith@microsoft.com>
Reviewed-by: Michael Starzinger <mstarzinger@chromium.org>
Reviewed-by: Clemens Hammacher <clemensh@chromium.org>
Reviewed-by: Jakob Gruber <jgruber@chromium.org>
Cr-Commit-Position: refs/heads/master@{#61186}
2019-05-02 17:46:18 +00:00
..
loop-stack-check.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-5531.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-5800.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-5860.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-5884.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-6054.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-6164.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-6931.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-7033.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-7035.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-7049.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-7353.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-7364.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-7366.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-7422.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-7499.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-7508.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-7565.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-7579.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-7582.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-7785.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-7914.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-8059.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-8094.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-8095.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-8505.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-8533.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-8846.js [wasm] Fix section order checking in {StreamingDecoder}. 2019-02-19 16:57:23 +00:00
regress-8896.js [wasm] Support runtime functions in (de)serializer. 2019-02-27 11:32:42 +00:00
regress-9017.js Touch guard pages when allocating stack frames 2019-05-02 17:46:18 +00:00
regress-02256.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-02256b.js
regress-02862.js
regress-643595.js
regress-644682.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-647649.js
regress-648079.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-651961.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-654377.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-663994.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-666741.js
regress-667745.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-670683.js
regress-674447.js
regress-680938.js [wasm] fix js-api Memory and Table constructor 2018-12-10 23:32:05 +00:00
regress-684858.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-688876.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-689450.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-694433.js
regress-698587.js
regress-699485.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-702460.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-702839.js
regress-703568.js
regress-708714.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-709684.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-710844.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-711203.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-712569.js
regress-715216a.js
regress-715216b.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-717056.js
regress-717194.js
regress-719175.js
regress-722445.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-724846.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-724851.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-724972.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-727219.js
regress-727222.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-727560.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-729991.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-731351.js
regress-734108.js [wasm][test] Remove default --wasm-async-compilation flag 2018-11-09 17:29:17 +00:00
regress-734246.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-734345.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-736584.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-737069.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-739768.js [wasm] Allow multi-table initialization in the wasm-module-builder 2019-03-13 10:39:41 +00:00
regress-752423.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-753496.js
regress-757217.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-763439.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-763697.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-766003.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-769637.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-769846.js
regress-771243.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-772332.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-775366.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-775710.js
regress-776677.js Reland "[asmjs] Properly validate asm.js heap sizes" 2018-08-21 09:00:04 +00:00
regress-778917.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-782280.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-784050.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-789952.js Reland "[wasm] Gracefully handle malformed custom sections in WebAssembly.Module.customSections()." 2017-12-01 14:39:57 +00:00
regress-791810.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-793551.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-797846.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-799952.js [wasm] Add missing WebAssembly.instantiate regression test. 2018-05-29 10:37:32 +00:00
regress-800756.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-801785.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-801850.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-802244.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-803427.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-803788.js [wasm] Allow multi-table initialization in the wasm-module-builder 2019-03-13 10:39:41 +00:00
regress-808012.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-808848.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-808980.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-810973.js [wasm] Nerf regression test size 2018-09-13 12:46:20 +00:00
regress-810973b.js [wasm] Nerf regression test size 2018-09-13 12:46:20 +00:00
regress-812005.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-816226.js [wasm] fix js-api Memory and Table constructor 2018-12-10 23:32:05 +00:00
regress-817380.js [wasm] Allow multi-table initialization in the wasm-module-builder 2019-03-13 10:39:41 +00:00
regress-819869.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-820802.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-824681.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-825087a.js [wasm] fix js-api memory/grow 2019-01-22 19:03:05 +00:00
regress-825087b.js [wasm] fix js-api memory/grow 2019-01-22 19:03:05 +00:00
regress-827806.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-831463.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-834619.js [wasm] Allow multi-table initialization in the wasm-module-builder 2019-03-13 10:39:41 +00:00
regress-834624.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-834693.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-836141.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-837417.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-840757.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-842501.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-843563.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-853453.js [wasm] Catch invalid flags correctly 2018-06-22 15:06:39 +00:00
regress-854011.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-854050.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-864509.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-873600.js Reland "[asmjs] Properly validate asm.js heap sizes" 2018-08-21 09:00:04 +00:00
regress-875556.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-894307.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-894374.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-898932.js [wasm] Fix memory limit checks 2018-10-30 13:44:48 +00:00
regress-905815.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-910824.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-913804.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-916869.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-917412.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-917588.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-917588b.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-918149.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-918284.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-918917.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-919308.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-919533.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-922432.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-922670.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-922933.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-924843.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-924905.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-925671.js [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
regress-935138.js [wasm] Speed up WasmModuleBuilder 2019-03-07 14:51:52 +00:00
regress-940296.js [wasm] Fix insufficient bounds check in WebAssembly.get 2019-03-12 11:29:02 +00:00
regress-946350.js [wasm] Fix missing GC visit of instance elements 2019-03-27 13:04:26 +00:00
regress-948228.js [wasm] Remove wrong DCHECK 2019-04-03 11:15:53 +00:00
regress-952342.js [wasm] Disable asan for memory_copy_wrapper 2019-04-26 11:21:21 +00:00
regress-956771.js [wasm] Fix Wasm Lazy Compilation 2019-04-30 13:05:20 +00:00
regress-956771b.js [wasm] Fix Wasm Lazy Compilation 2019-04-30 13:05:20 +00:00
regress-ubsan.js [ubsan] Fix various ClusterFuzz-found issues 2019-03-07 00:09:20 +00:00