This is an archive of the discontinued LLVM Phabricator instance.

[ARM][Debug Info] Restore emitting of .cfi_def_cfa_offset for functions without stack frame
ClosedPublic

Authored by sdmitrouk on Mar 25 2015, 7:00 AM.

Details

Summary

Looks like new code from rL222057 doesn't account for early return in ARMFrameLowering::emitPrologue, which leads to loosing .cfi_def_cfa_offset directive for functions without stack frame.

Diff Detail

Repository
rL LLVM

Event Timeline

sdmitrouk updated this revision to Diff 22645.Mar 25 2015, 7:00 AM
sdmitrouk retitled this revision from to [ARM][Debug Info] Restore emitting of .cfi_def_cfa_offset for functions without stack frame.
sdmitrouk updated this object.
sdmitrouk edited the test plan for this revision. (Show Details)
sdmitrouk set the repository for this revision to rL LLVM.
asl edited edge metadata.Mar 26 2015, 12:20 AM

This looks like a resonable fix. Tim @t.p.northover, any objections?

sdmitrouk added a subscriber: Unknown Object (MLST).Apr 7 2015, 11:39 AM

Add llvm-commits list...

t.p.northover accepted this revision.Apr 7 2015, 12:37 PM
t.p.northover edited edge metadata.

Looks reasonable to me too. Sorry about that.

Tim.

This revision is now accepted and ready to land.Apr 7 2015, 12:37 PM
This revision was automatically updated to reflect the committed changes.