This is the mail archive of the
mailing list for the elfutils project.
Re: [COMMITTED] tests: backtrace.c only check we caught the last instruction on x86_64.
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Sat, 21 Dec 2013 19:55:40 +0100
- Subject: Re: [COMMITTED] tests: backtrace.c only check we caught the last instruction on x86_64.
On Sat, 21 Dec 2013 19:44:28 +0100, Mark Wielaard wrote:
> On some architectures gcc might introduce some "padding instructions"
> at the end of the function (like on ppc64). So only assert we are at the
> last instruction of backtracegen if on x86_64 native. In theory the assert
> could even fail on that architectures, but in practice it doesn't and it
> is a nice test to have.
Fine with the fix; I still had the bugreport in queue.