This is an archive of the discontinued LLVM Phabricator instance.

[CodeGen] Split SafeStack into a LegacyPass and a utility. NFC.
ClosedPublic

Authored by ab on Mar 23 2017, 1:17 PM.

Details

Summary

This lets the pass focus on gathering the required analyzes, and the utility class focus on the transformation.

The "run" method is a little awkward; suggestions welcome!

Diff Detail

Repository
rL LLVM

Event Timeline

ab created this revision.Mar 23 2017, 1:17 PM
davide accepted this revision.Apr 13 2017, 10:42 AM
davide added a subscriber: davide.

LGTM

This revision is now accepted and ready to land.Apr 13 2017, 10:42 AM
This revision was automatically updated to reflect the committed changes.