[Lldb-commits] [PATCH] D41702: Add SysV Abi for PPC64le

Justin Hibbits via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Jan 9 07:30:35 PST 2018


jhibbits added a comment.

In https://reviews.llvm.org/D41702#971012, @labath wrote:

> Hmm.. that complicates things a bit. How badly is it broken, do you estimate? Would it be any better than if we just made your new plugin handle the the big-endian target as well (just a best effort, I'm not asking you to actually test it on that target)?
>
> If the ppc64be FreeBSD target is really broken, and there is no desire to fix it, maybe we should just delete the relevant plugin.
>
> @emaste, @jhibbits: do you know what's the state of ppc64 lldb support in freebsd?


It's broken because LLDB doesn't yet handle function descriptors, and I haven't yet made the effort (ENOTIME) to fix that.  I think our eventual goal is to move even BE to ELFv2 on FreeBSD, to do away with function descriptors, and it should then Just Work, as powerpc (32-bit) works fine for most cases right now.

That said, if anyone knows enough to add function descriptor knowledge to LLDB, I think that's the only missing piece, or the biggest missing piece.  I do want to finish the effort, since I started it 3.5 years ago, but I do need help with understanding that ABI detail and how it fits with LLDB.


https://reviews.llvm.org/D41702





More information about the lldb-commits mailing list