From 288b44328dbd22429eaaed5243d7bea8a3116016 Mon Sep 17 00:00:00 2001 From: k0kubun Date: Thu, 8 Feb 2018 13:54:37 +0000 Subject: Export some missing symbols for MJIT tool/ruby_vm/views/_insn_name_info.erb: on Linux, rb_vm_insn_name_offset was needed to compile with --jit-debug (Usually --jit-debug requires more symbols than the situation without --jit-debug because -O2 skips some functions to compile). vm.c: when running transform_mjit_header.rb with --jit-wait, rb_source_location_cstr was repoted to be missing. string.c: ditto, for rb_str_eql numeric.c: ditto, for rb_float_eql git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- vm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vm.c') diff --git a/vm.c b/vm.c index 518aabb382..93134ff78f 100644 --- a/vm.c +++ b/vm.c @@ -1302,7 +1302,7 @@ rb_source_location(int *pline) } } -const char * +MJIT_FUNC_EXPORTED const char * rb_source_location_cstr(int *pline) { VALUE path = rb_source_location(pline); -- cgit v1.2.3