[Lldb-commits] [PATCH] D62764: Detect x86 mid-function epilogues	that end in a jump
    Jason Molenda via Phabricator via lldb-commits 
    lldb-commits at lists.llvm.org
       
    Mon Aug  1 18:02:32 PDT 2022
    
    
  
jasonmolenda added inline comments.
================
Comment at: lldb/trunk/source/Plugins/UnwindAssembly/x86/x86AssemblyInspectionEngine.cpp:707-713
+  if (second_byte_sans_reg == 0x24)
+    return true;
+
+  // use SIB byte
+  // ff 24 fe  jmpq   *(%rsi,%rdi,8)
+  if (second_byte_sans_reg == 0x24)
+    return true;
----------------
fixathon wrote:
> This looks like duplicate code
At least it does the same thing in both of them!  :) 
Repository:
  rL LLVM
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D62764/new/
https://reviews.llvm.org/D62764
    
    
More information about the lldb-commits
mailing list