[PATCH] Fix PR20800: correctly calculate the offset of the subq instruction when generating compact unwind info.

Alexander Potapenko glider at google.com
Tue Sep 2 08:08:37 PDT 2014


Hi kledzik, void,

This CL replaces the constant DarwinX86AsmBackend.PushInstrSize with a method that lets the backend account for different sizes of "push %reg" instruction sizes.

http://reviews.llvm.org/D5154

Files:
  lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
  test/CodeGen/X86/2014-08-29-CompactUnwind.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5154.13164.patch
Type: text/x-patch
Size: 3804 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140902/f23977b2/attachment.bin>


More information about the llvm-commits mailing list