diff options
author | Alan Wu <[email protected]> | 2024-06-14 16:24:35 -0400 |
---|---|---|
committer | Alan Wu <[email protected]> | 2024-06-17 15:09:32 -0400 |
commit | 657c8db8deb06741ca4b6a8b6635230f68c6d263 (patch) | |
tree | bfd19dc05fc554e3a305dcb6186c5839b1ced3ea /signal.c | |
parent | a119b5f8793b2bf0c9f970d9f0cf16e6f33ee7c3 (diff) |
YJIT: `--yjit-dump-disasm=dir`: Hold descriptor for dump file
This mainly aims to make `--yjit-dump-disasm=<relative_path>` more
usable. Previously, it crashed if the program did chdir(2), since it
opened the dump file every time when appending.
Tested with:
./miniruby --yjit-dump-disasm=. --yjit-call-threshold=1 -e 'Dir.chdir("/") {}'
And the `lobsters` benchmark.
Diffstat (limited to 'signal.c')
0 files changed, 0 insertions, 0 deletions