commit | fac68d2d7030568629ed7fc4c8fce0b63557c918 | [log] [tgz] |
---|---|---|
author | Alexander Potapenko <glider@google.com> | Wed Sep 03 07:11:34 2014 +0000 |
committer | Alexander Potapenko <glider@google.com> | Wed Sep 03 07:11:34 2014 +0000 |
tree | dbf4fbc4c2a984ce04701528b2e55e794ee4dd8e | |
parent | 847547086d87bca88f9a0fb17723a4ae7e1ad772 [diff] |
Fix PR20800: correctly calculate the offset of the subq instruction when generating compact unwind info. This CL replaces the constant DarwinX86AsmBackend.PushInstrSize with a method that lets the backend account for different sizes of "push %reg" instruction sizes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217020 91177308-0d34-0410-b5e6-96231b3b80d8