Proposal: Unify printing the function name in panic messages()

Christoph Mallon christoph.mallon at gmx.de
Sat Feb 9 09:51:50 UTC 2013


On 09.02.2013 10:26, Bruce Evans wrote:

I knew, this would happen, the moment I typed "ancient god".

> Name lookup from the return address is broken for inline functions and
> for other optimizations like tail calls, but much more is broken for
> stack traces.

Thank you for contributing to my case.

As bde points out, optimisations interfere with location information gathered at runtime.
Having the right name of the function in the panic, ensures that at least the starting point is right.
My PANIC() macro guarantees exactly this.

	Christoph



More information about the freebsd-arch mailing list