Skip to content

Commit d97fb3b

Browse files
tekknolagik0kubun
andauthored
ZJIT: Print out full path to --zjit-trace-exits output (ruby#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 <[email protected]> --------- Co-authored-by: Takashi Kokubun <[email protected]>
1 parent 68d9f7c commit d97fb3b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

zjit.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,7 @@ def dump_locations # :nodoc:
283283
filename = "zjit_exits_#{Process.pid}.dump"
284284
n_bytes = dump_exit_locations(filename)
285285

286-
$stderr.puts("#{n_bytes} bytes written to #{filename}.")
286+
absolute_filename = File.expand_path(filename)
287+
$stderr.puts("#{n_bytes} bytes written to #{absolute_filename}")
287288
end
288289
end

0 commit comments

Comments
 (0)