libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libunwind-devel] [PATCH 3/6] Prevent the use of struct dl_phdr_info


From: Ken Werner
Subject: Re: [Libunwind-devel] [PATCH 3/6] Prevent the use of struct dl_phdr_info outside of dl_iterate_phdr
Date: Fri, 28 Oct 2011 14:07:41 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1

On 10/27/2011 06:07 PM, Arun Sharma wrote:
On Thu, Oct 27, 2011 at 1:38 AM, Ken Werner<address@hidden>  wrote:
Since the dl_iterate_phdr is required for local unwinding only the use of
struct dl_phdr_info can be eliminated in case libunwind gets compiled for
remote unwinding. This enhances libunwinds portability to targets that
don't provide any dl_iterate_phdr functionality.


This patch seems to eliminate the dependency on dl_phdr_info. I'm not
very familiar with android sources, but bionic seems to define it
here?

https://github.com/android/platform_bionic/blob/master/linker/linker.h

Hi Arun,

Thank you for reviewing. The point is that libuwinds remote unwinding functionality has no real dependency to dl_iterate_phdr and therefore should not use the struct dl_phdr_info.

Regards
Ken



reply via email to

[Prev in Thread] Current Thread [Next in Thread]