| Index: test/cctest/wasm/test-run-wasm-module.cc
|
| diff --git a/test/cctest/wasm/test-run-wasm-module.cc b/test/cctest/wasm/test-run-wasm-module.cc
|
| index a33e215471f51aff4d5ae575f8b8f3a514082841..e352129d8ec1d7cdef6d3997e76420fec066987b 100644
|
| --- a/test/cctest/wasm/test-run-wasm-module.cc
|
| +++ b/test/cctest/wasm/test-run-wasm-module.cc
|
| @@ -122,16 +122,6 @@ TEST(Run_WasmModule_ReadLoadedDataSegment) {
|
| TestModule(writer->WriteTo(&zone), 0xddccbbaa);
|
| }
|
|
|
| -
|
| -#if defined(__has_feature)
|
| -#if __has_feature(address_sanitizer)
|
| -#define V8_WITH_ASAN 1
|
| -#endif
|
| -#endif
|
| -
|
| -
|
| -#if !defined(V8_WITH_ASAN)
|
| -// TODO(bradnelson): Figure out why this crashes under asan.
|
| TEST(Run_WasmModule_CheckMemoryIsZero) {
|
| static const int kCheckSize = 16 * 1024;
|
| Zone zone;
|
| @@ -153,11 +143,7 @@ TEST(Run_WasmModule_CheckMemoryIsZero) {
|
| WasmModuleWriter* writer = builder->Build(&zone);
|
| TestModule(writer->WriteTo(&zone), 11);
|
| }
|
| -#endif
|
|
|
| -
|
| -#if !defined(V8_WITH_ASAN)
|
| -// TODO(bradnelson): Figure out why this crashes under asan.
|
| TEST(Run_WasmModule_CallMain_recursive) {
|
| Zone zone;
|
| WasmModuleBuilder* builder = new (&zone) WasmModuleBuilder(&zone);
|
| @@ -178,11 +164,7 @@ TEST(Run_WasmModule_CallMain_recursive) {
|
| WasmModuleWriter* writer = builder->Build(&zone);
|
| TestModule(writer->WriteTo(&zone), 55);
|
| }
|
| -#endif
|
| -
|
|
|
| -#if !defined(V8_WITH_ASAN)
|
| -// TODO(bradnelson): Figure out why this crashes under asan.
|
| TEST(Run_WasmModule_Global) {
|
| Zone zone;
|
| WasmModuleBuilder* builder = new (&zone) WasmModuleBuilder(&zone);
|
| @@ -205,4 +187,3 @@ TEST(Run_WasmModule_Global) {
|
| WasmModuleWriter* writer = builder->Build(&zone);
|
| TestModule(writer->WriteTo(&zone), 97);
|
| }
|
| -#endif
|
|
|