hfinkel added a comment.

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

> Is the only difference between ppc64 and ppc64le ABIs in the endianness of 
> the values?
>  If so, could we make one unified ABI which takes the endianness as an 
> argument (in the constructor, or as a template argument, or deduces it from 
> target endiannes, ...) ?


The ABIs have some other differences. The largest difference between the ABIs 
is how indirect-calls (and, thus, function pointers) work. There are some other 
more-minor differences, for example, some of the call-frame offsets are 
different.  It still might be possible to unify the support (we certainly have 
one backend in LLVM for both), but it's a bit more involved than just switching 
the endianness.


https://reviews.llvm.org/D41702



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
  • [Lldb-commits] ... Alexandre Yukio Yamashita via Phabricator via lldb-commits
    • [Lldb-comm... Alexandre Yukio Yamashita via Phabricator via lldb-commits
    • [Lldb-comm... Pavel Labath via Phabricator via lldb-commits
    • [Lldb-comm... Hal Finkel via Phabricator via lldb-commits
    • [Lldb-comm... Pavel Labath via Phabricator via lldb-commits
    • [Lldb-comm... Alexandre Yukio Yamashita via Phabricator via lldb-commits
    • [Lldb-comm... Pavel Labath via Phabricator via lldb-commits
    • [Lldb-comm... Justin Hibbits via Phabricator via lldb-commits
    • [Lldb-comm... Pavel Labath via Phabricator via lldb-commits
    • [Lldb-comm... Alexandre Yukio Yamashita via Phabricator via lldb-commits
    • [Lldb-comm... Justin Hibbits via Phabricator via lldb-commits
    • [Lldb-comm... Pavel Labath via Phabricator via lldb-commits
    • [Lldb-comm... Alexandre Yukio Yamashita via Phabricator via lldb-commits
    • [Lldb-comm... Alexandre Yukio Yamashita via Phabricator via lldb-commits

Reply via email to