Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions scripts/fuzz_opt.py
Original file line number Diff line number Diff line change
Expand Up @@ -2223,13 +2223,14 @@ def do_run(self, vm, js, wasm):
# must also remove the specific trap, as Binaryen can change
# that.
line = 'TRAP'
elif 'wasm://' in line or '(<anonymous>)' in line:
elif line.startswith(' at '):
# This is part of a stack trace like
#
# at wasm://wasm/12345678:wasm-function[42]:0x123
# at (<anonymous>)
# at file.js
#
# Ignore it, as traces differ based on optimizations.
# Ignore it, as details of traces differ based on optimizations.
continue
cleaned.append(line)
return '\n'.join(cleaned)
Expand Down
Loading