HomePhabricator

First cut of PowerPC(64) support in LLDB.

Description

First cut of PowerPC(64) support in LLDB.

Summary:
This adds preliminary support for PowerPC/PowerPC64, for FreeBSD. There are
some issues still:

  • Breakpoints don't work well on powerpc64.
  • Shared libraries don't yet get loaded for a 32-bit process on powerpc64 host.
  • Backtraces don't work. This is due to PowerPC ABI using a backchain pointer in memory, instead of a dedicated frame pointer register for the backchain.
  • Breakpoints on functions without debug info may not work correctly for 32-bit powerpc.

Reviewers: emaste, tfiala, jingham, clayborg

Reviewed By: clayborg

Subscribers: emaste, lldb-commits

Differential Revision: http://reviews.llvm.org/D5988

Details

Committed
jhibbitsOct 30 2014, 7:34 PM
Reviewer
clayborg
Differential Revision
D5988: First cut of PowerPC(64) support in LLDB.
Parents
rL220943: [modules] When a .pcm file is explicitly built separately from the translation
Branches
Unknown
Tags
Unknown

Event Timeline