This is an archive of the discontinued LLVM Phabricator instance.

StackProtector: ignore debug insts when splitting blocks.
ClosedPublic

Authored by t.p.northover on Feb 10 2022, 6:13 AM.

Details

Reviewers
aschwaighofer
Summary

When deciding where to split a block to insert stack guard checks, we should move past any debug instructions we see that might (e.g.) be separating a tail call from its frame wrangling.

Diff Detail

Event Timeline

t.p.northover created this revision.Feb 10 2022, 6:13 AM
t.p.northover requested review of this revision.Feb 10 2022, 6:13 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 10 2022, 6:13 AM
This revision is now accepted and ready to land.Feb 10 2022, 6:43 AM
t.p.northover closed this revision.Feb 11 2022, 2:14 AM

Thanks, committed:

To github.com:llvm/llvm-project.git

5d639034652d..7605ca85f1a8  main -> main