secret
Created

  • Download Gist
export-symbols.patch
Diff
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
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)
{

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.