[PATCH] D13132: [X86] Emit .cfi_escape GNU_ARGS_SIZE when adjusting the stack before calls

Michael Kuperstein via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 1 05:23:30 PDT 2015


mkuper updated this revision to Diff 36229.
mkuper added a comment.

Fixed buffer overflow, and changed the condition to only add GNU_ARGS_SIZE if there are any landing pads in the function.
We can probably do better (by adding them only for invokes), but I'd rather leave that for a separate patch.


http://reviews.llvm.org/D13132

Files:
  include/llvm/MC/MCDwarf.h
  include/llvm/MC/MCStreamer.h
  lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
  lib/MC/MCAsmStreamer.cpp
  lib/MC/MCDwarf.cpp
  lib/MC/MCStreamer.cpp
  lib/Target/X86/X86FrameLowering.cpp
  test/CodeGen/X86/push-cfi-obj.ll
  test/CodeGen/X86/push-cfi.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13132.36229.patch
Type: text/x-patch
Size: 13071 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151001/26d0316a/attachment.bin>


More information about the llvm-commits mailing list