diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-12 07:36:32 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-12 07:36:32 +0000 |
commit | 486795d95124c8d2bdaf4ae84a282e3879cb367c (patch) | |
tree | fadb55b28cff75206adc97da09765442cc7596de /vm_dump.c | |
parent | b3f491d3cb55b06029edf790ccf26cb6be50e28a (diff) | |
download | ruby-486795d95124c8d2bdaf4ae84a282e3879cb367c.tar.gz |
* configure.in: add -fno-omit-frame-pointer if libexecinfo is used.
At least on FreeBSD ruby will crash on getting C backtrace
when it is compiled with other than -O0.
* vm_dump.c: enable backtrace on FreeBSD even if with optimizations.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_dump.c')
-rw-r--r-- | vm_dump.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -424,9 +424,6 @@ rb_vmdebug_thread_dump_state(VALUE self) return Qnil; } -#if defined(__FreeBSD__) && defined(__OPTIMIZE__) -#undef HAVE_BACKTRACE -#endif #ifndef HAVE_BACKTRACE #define HAVE_BACKTRACE 0 #endif |