This is an archive of the discontinued LLVM Phabricator instance.

[safestack] Make sure the unsafe stack pointer is popped in all cases
ClosedPublic

Authored by zaks.anna on Jan 19 2016, 5:56 PM.

Details

Summary

The unsafe stack pointer is only popped in moveStaticAllocasToUnsafeStack so it won't happen if there are no static allocas.

Fixes https://llvm.org/bugs/show_bug.cgi?id=26122

Diff Detail

Event Timeline

zaks.anna updated this revision to Diff 45330.Jan 19 2016, 5:56 PM
zaks.anna retitled this revision from to [safestack] Make sure the unsafe stack pointer is popped in all cases.
zaks.anna updated this object.
zaks.anna added reviewers: pcc, eugenis.
zaks.anna added subscribers: kubamracek, llvm-commits.
eugenis accepted this revision.Jan 20 2016, 1:14 PM
eugenis edited edge metadata.

LGTM

This revision is now accepted and ready to land.Jan 20 2016, 1:14 PM
This revision was automatically updated to reflect the committed changes.