[Lldb-commits] [PATCH] D103626: [lldb][AArch64] Remove non address bits from memory read arguments

David Spickett via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Jun 3 09:12:39 PDT 2021

DavidSpickett added a reviewer: omjavaid.
DavidSpickett added a comment.
Herald added a subscriber: JDevlieghere.

The side effect here is that you do "memory read <tagged ptr>" and you see untagged addresses for the lines. It's not really that confusing but maybe something we should make a general decision about.

Same thing applies to the previous "memory region" patch.

  (lldb) p ptr1
  (char *) $1 = 0x344dfffffffffcb0 ""
  (lldb) memory read ptr1
  0xfffffffffcb0: f0 05 40 00 00 00 00 00 00 00 00 00 00 00 00 00  .. at .............
  0xfffffffffcc0: e0 fc ff ff ff ff 00 00 54 f0 e7 f7 ff ff 00 00  ........T.......
  (lldb) memory region ptr1
  [0x0000fffffffdf000-0x0001000000000000) rw- [stack]

Personally it doesn't bother me, but then again I know what all the upper bits are doing anyway.

  rG LLVM Github Monorepo



More information about the lldb-commits mailing list