diff options
| author | Max Bernstein <rubybugs@bernsteinbear.com> | 2025-10-27 16:45:50 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-27 20:45:50 +0000 |
| commit | d97fb3b424cebb812012a4e8a497a88510be9b72 (patch) | |
| tree | 46e9939f622154e26c73391855c3528dec2aaf32 | |
| parent | 68d9f7c3e6da11690ead9b525e08a8f2c4afc4be (diff) | |
ZJIT: Print out full path to --zjit-trace-exits output (#14966)
* ZJIT: Print out full path to --zjit-trace-exits output
This helps with any `chdir`-related issues.
* Don't include dot
Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com>
---------
Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com>
| -rw-r--r-- | zjit.rb | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -283,6 +283,7 @@ class << RubyVM::ZJIT filename = "zjit_exits_#{Process.pid}.dump" n_bytes = dump_exit_locations(filename) - $stderr.puts("#{n_bytes} bytes written to #{filename}.") + absolute_filename = File.expand_path(filename) + $stderr.puts("#{n_bytes} bytes written to #{absolute_filename}") end end |
