[Lldb-commits] [PATCH] D57745: [x64] Process the B field of the REX prefix correctly for the PUSH and POP instructions

Aleksandr Urakov via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Feb 5 04:28:58 PST 2019


aleksandr.urakov created this revision.
aleksandr.urakov added reviewers: jasonmolenda, labath.
aleksandr.urakov added a project: LLDB.
Herald added subscribers: lldb-commits, abidh.

This patch makes `x86AssemblyInspectionEngine` to process zero value of the `B` field of the `REX` prefix in a correct way for `PUSH` and `POP` instructions. MSVC sometimes emits `pushq %rbp` instruction as `0x40 0x55`, and it was not parsed correctly before.


Repository:
  rLLDB LLDB

https://reviews.llvm.org/D57745

Files:
  source/Plugins/UnwindAssembly/x86/x86AssemblyInspectionEngine.cpp
  unittests/UnwindAssembly/x86/Testx86AssemblyInspectionEngine.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57745.185279.patch
Type: text/x-patch
Size: 7073 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190205/3d2cdda2/attachment.bin>


More information about the lldb-commits mailing list