[Lldb-commits] [PATCH] D75607: [lldb] Use llvm::MC for register numbers in AArch64 ABIs

Muhammad Omair Javaid via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu May 7 01:41:38 PDT 2020


omjavaid added a subscriber: clayborg.
omjavaid added a comment.

In D75607#2020365 <https://reviews.llvm.org/D75607#2020365>, @labath wrote:

> Thanks for trying this out. Do you by any chance have any ideas why would lldb assign a dwarf number to the pc register when neither llvm nor the arm64 abi do not specify a pc register number?


Not sure why this was added seems like original import from apple repos had this but AArch64 procedure call standard doesnt have it as you said. This also means compiler should never emit a dwarf instruction with reg num 32. GDB doesnt use PC reg num either and i dont remember seeing any special use of this register number anywhere in LLDB. May be ask @clayborg or @jasonmolenda  they seems to have written the code according to commit log.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75607/new/

https://reviews.llvm.org/D75607





More information about the lldb-commits mailing list