[ruby-core:83819] Re: [ruby-cvs:68022] naruse:r60841 (trunk): explictly skip compressed debug line

From: Eric Wong <normalperson@...>
Date: 2017-11-18 22:30:35 UTC
List: ruby-core #83819
naruse@ruby-lang.org wrote:
>   Log:
>     explictly skip compressed debug line
>     
>     To identify the line of backtrace with ease, show the offset address of library.
>     You can just find the source filename and the line with
>     `addr2line -e libruby.so.2.5.0 0xXXXX`

Btw, I made r60843 to fix a compile error from SHF_COMPRESSED
not being defined on older glibc.  Maybe it is safe to define
that to (1 << 11) universally, but I will let you decide that.
(I'm not knowledgeable when it comes to addr2line or ELF)

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next