v8/test/mjsunit/asm
Andreas Haas 3706e2e29a [asm] In LogCode, use empty string instead of nullptr as default url
For asm.js functions, the script name is used as the `source_url` for
code logging. If the script name was undefined, as it can happen for
asm.js code that gets evaluated in an eval, then `nullptr` was used
as the `source_url`. The problem was, the logging code accessed
`source_url` unconditionally, which caused a segfault.

With this CL the empty string is used as `source_url` instead of
`nullptr`.

The test revealed another problem in the isolate mode: profiling has
to be stopped and the profiler disposed before the isolate dies.

R=clemensb@chromium.org

Bug: chromium:1395401
Change-Id: Ia9730bb033a22b799ea2b1903ea540db9f259513
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4079685
Reviewed-by: Clemens Backes <clemensb@chromium.org>
Commit-Queue: Andreas Haas <ahaas@chromium.org>
Cr-Commit-Position: refs/heads/main@{#84892}
2022-12-16 09:49:18 +00:00
..
embenchen
poppler
sqlite3
asm-heap.js
asm-memory.js
asm-stdlib.js
asm-validation.js [cleanup] Remove --stress-opt remnants 2022-08-31 08:37:44 +00:00
atomics-add.js
atomics-and.js
atomics-compareexchange.js
atomics-exchange.js
atomics-load.js
atomics-or.js
atomics-store.js
atomics-sub.js
atomics-xor.js
b5528-comma.js
call-annotation.js
call-collisions.js
call-stdlib.js
do-while-false.js
do-while.js
float32array-negative-offset.js
float32array-outofbounds.js
float32array-store-div.js
float64array-negative-offset.js
float64array-outofbounds.js
float64array-store-div.js
float64mul.js
global-imports.js
if-cloning.js
if-folding.js
if-reduction.js
if-tonumber.js
immutable.js
infinite-loops-taken.js
infinite-loops.js
int8array-negative-offset.js
int16array-negative-offset.js
int16array-outofbounds.js
int32-div.js
int32-mod.js
int32-mul.js
int32-tmod.js
int32-udiv.js
int32-umod.js
int32array-constant-key.js
int32array-negative-offset.js
int32array-outofbounds.js
int32array-unaligned.js
int32div.js
int32mod-constant.js
int32mod.js
int32modb.js
load-elimination.js [test] Crash on invalid intrinsic use unless --fuzzing is on 2020-04-14 15:01:49 +00:00
math-abs.js
math-ceil.js
math-clz32.js
math-floor.js
math-fround.js
math-max.js
math-min.js
noexpose-wasm.js
pointer-masking.js
redundancy1.js
redundancy2.js
regress-9531.js
regress-641885.js
regress-660813.js
regress-669899.js
regress-672045.js
regress-676573.js
regress-681707.js
regress-718745.js
regress-719866.js
regress-740325.js
regress-913822.js
regress-920076.js
regress-937650.js
regress-1013920.js
regress-1027595.js
regress-1069173.js [asm] Fix globals initialized by '-0' 2020-08-28 15:19:16 +00:00
regress-1395401.js [asm] In LogCode, use empty string instead of nullptr as default url 2022-12-16 09:49:18 +00:00
return-types.js
sign-extend.js
switch.js
uint8array-outofbounds.js
uint32-less-than-shift.js
uint32div.js
uint32mod-constant.js
uint32mod.js
word32and.js
word32ror.js
zero-extend.js