summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Bernstein <rubybugs@bernsteinbear.com>2025-10-27 16:45:50 -0400
committerGitHub <noreply@github.com>2025-10-27 20:45:50 +0000
commitd97fb3b424cebb812012a4e8a497a88510be9b72 (patch)
tree46e9939f622154e26c73391855c3528dec2aaf32
parent68d9f7c3e6da11690ead9b525e08a8f2c4afc4be (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.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/zjit.rb b/zjit.rb
index 8b44330b36..9ea83fe10f 100644
--- a/zjit.rb
+++ b/zjit.rb
@@ -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