hanchenye-llvm-project/lldb/source/Plugins/UnwindAssembly
Jason Molenda 6f5e8c2647 Add support for function with stack frame checks added by the compiler;
these functions will end in the sequence

  mov %rbp, %rsp
  ret
  call __stack_chk_fail

instead of the usual mov, ret.  The x86 assembly profiler only looked
for functions ending in 'ret' and added the Unwind row describing how to
set the CFA based on that -- the addition of the call insn (which is jumped
to earlier in the function body) threw off that inspection.

Resolves the need to "step" twice to get out of these functions when doing
source-level stepping.

<rdar://problem/11469705>

llvm-svn: 157454
2012-05-25 01:54:06 +00:00
..
InstEmulation <rdar://problem/11330621> 2012-05-10 02:52:23 +00:00
x86 Add support for function with stack frame checks added by the compiler; 2012-05-25 01:54:06 +00:00