-
-
Save ConradIrwin/2f19a3cffb1a7bdfaf22 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/vm.c b/vm.c | |
index f961196..0982909 100644 | |
--- a/vm.c | |
+++ b/vm.c | |
@@ -481,6 +481,7 @@ vm_collect_local_variables_in_heap(rb_thread_t *th, VALUE *ep, VALUE ary) | |
static void vm_rewrite_ep_in_errinfo(rb_thread_t *th); | |
+__attribute__ ((visibility ("default"))) | |
VALUE | |
rb_vm_make_env_object(rb_thread_t * th, rb_control_frame_t *cfp) | |
{ | |
diff --git a/vm_backtrace.c b/vm_backtrace.c | |
index bfd3adf..203dfff 100644 | |
--- a/vm_backtrace.c | |
+++ b/vm_backtrace.c | |
@@ -28,6 +28,7 @@ calc_lineno(const rb_iseq_t *iseq, const VALUE *pc) | |
return rb_iseq_line_no(iseq, pc - iseq->iseq_encoded); | |
} | |
+__attribute__ ((visibility ("default"))) | |
int | |
rb_vm_get_sourceline(const rb_control_frame_t *cfp) | |
{ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment