[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
Tue Sep 29 00:11:21 PDT 2015


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

Updated the interface.
I abused the "Offset" field of MCCFIInstruction for the size - but I think this actually makes sense. If anyone prefers a new field, let me know.

The optimization of removing duplicate .cfi_escapes will go into a separate commit, once I figure out where it fits in.


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.35940.patch
Type: text/x-patch
Size: 12549 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150929/50e339b2/attachment.bin>


More information about the llvm-commits mailing list