[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: inlinable functions instead of macros
From: |
Paul Eggert |
Subject: |
Re: inlinable functions instead of macros |
Date: |
Sat, 18 Aug 2012 13:57:58 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120714 Thunderbird/14.0 |
On 08/18/2012 12:08 PM, Richard Stallman wrote:
> Could a GCC improvement be a good fix for this? For instance, if it
> allowed the assertion failure to find and mention the source location
> of the function's caller?
That could be done via GCC. It should also be doable without
changing the compiler, by enhancing glibc's 'backtrace' function.
GNU binutils contains code to do this, in its addr2line command,
and presumably we could use similar code inside Emacs. Emacs
could link to libbfd on systems that have it, or it could
bundle libbfd, or it could invoke the command-line tool
addr2line to get the relevant info. Whichever's easiest,
presumably.
- Re: inlinable functions instead of macros, (continued)
- Re: inlinable functions instead of macros, Paul Eggert, 2012/08/24
- Re: inlinable functions instead of macros, Tom Tromey, 2012/08/24
- Re: inlinable functions instead of macros, Paul Eggert, 2012/08/24
- Re: inlinable functions instead of macros, Eli Zaretskii, 2012/08/25
- Re: inlinable functions instead of macros, Tom Tromey, 2012/08/25
- Re: inlinable functions instead of macros, Paul Eggert, 2012/08/26
- Re: inlinable functions instead of macros, Stefan Monnier, 2012/08/24
- Re: inlinable functions instead of macros, Paul Eggert, 2012/08/26
- Re: inlinable functions instead of macros, Eli Zaretskii, 2012/08/22
Re: inlinable functions instead of macros, Richard Stallman, 2012/08/18
- Re: inlinable functions instead of macros,
Paul Eggert <=
Re: inlinable functions instead of macros, Óscar Fuentes, 2012/08/18
Re: inlinable functions instead of macros, Florian Weimer, 2012/08/19
Re: inlinable functions instead of macros, Sam Steingold, 2012/08/20