This is an archive of the discontinued LLVM Phabricator instance.

Fix PR20800: correctly calculate the offset of the subq instruction when generating compact unwind info.
Needs ReviewPublic

Authored by glider on Sep 2 2014, 8:08 AM.

Details

Reviewers
kledzik
Summary

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

Diff Detail

Event Timeline

glider updated this revision to Diff 13164.Sep 2 2014, 8:08 AM
glider retitled this revision from to Fix PR20800: correctly calculate the offset of the subq instruction when generating compact unwind info..
glider updated this object.
glider edited the test plan for this revision. (Show Details)
glider added reviewers: kledzik, void.
glider added a subscriber: Unknown Object (MLST).

Please take a look.

kledzik edited edge metadata.Sep 2 2014, 11:34 AM

LGTM. Thanks for tracking this down.

void removed a reviewer: void.Apr 17 2018, 2:34 PM