This causes the Iseq file names to be wrong, which is affecting
Tracepoint events in certain cases.
because we're taking a pointer to the string and using it in pm_string_mapped_pointer we also need to RB_GC_GUARD the relevant
Ruby object to ensure it's not moved or swept before the parser has been
free'd.
[Prism] Don't change file after setting it.
This causes the Iseq file names to be wrong, which is affecting
Tracepoint events in certain cases.
because we're taking a pointer to the string and using it in
pm_string_mapped_pointer
we also need toRB_GC_GUARD
the relevantRuby object to ensure it's not moved or swept before the parser has been
free'd.