diff options
author | Alexander Potapenko <glider@google.com> | 2014-09-03 07:11:34 +0000 |
---|---|---|
committer | Alexander Potapenko <glider@google.com> | 2014-09-03 07:11:34 +0000 |
commit | 33e4d9e9e3ee5392fbcd65c7df7bd7856a6f4df6 (patch) | |
tree | 3f3faa773f906b87cfe05dee2472e825ed8f8256 /clang/unittests/Format/FormatTest.cpp | |
parent | 31e5b7fb1249378407dd726ff3fad7198a67aaee (diff) | |
download | bcm5719-llvm-33e4d9e9e3ee5392fbcd65c7df7bd7856a6f4df6.tar.gz bcm5719-llvm-33e4d9e9e3ee5392fbcd65c7df7bd7856a6f4df6.zip |
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.
llvm-svn: 217020
Diffstat (limited to 'clang/unittests/Format/FormatTest.cpp')
0 files changed, 0 insertions, 0 deletions