[Lldb-commits] [PATCH] Fix [vdso] handling on Android (x86 and aarch64)

Vince Harron vince at nethacker.com
Mon Jun 29 16:15:30 PDT 2015


You can use the gdb remote get auxv command I think to get libvdso load
address.

On Mon, Jun 29, 2015 at 3:28 PM, Tamas Berghammer <tberghammer at google.com>
wrote:

> In http://reviews.llvm.org/D10800#196543, @vharron wrote:
>
> > If you've fixed vdso handling,  shouldn't some i386 tests be marked as
> passing?
>
>
> It is fixing it only on Android. There is a different between how the
> linker works on Linux and on Android and we need to solve one more
> additional issue to fix it on Linux also but it isn't trivial.
>
> The problem is that the Linux linker don't fill in the file path in the
> rendezvous structure for the [vdso] because it isn't a file (it is treated
> as a feature in the code) but currently we use that path to find the load
> address of the file (based on /proc/<pid>/maps). To fix the issue on Linux
> also we need an other way to get the load address of an SO.
>
>
> http://reviews.llvm.org/D10800
>
> EMAIL PREFERENCES
>   http://reviews.llvm.org/settings/panel/emailpreferences/
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150629/3272f6a8/attachment.html>


More information about the lldb-commits mailing list