This is an archive of the discontinued LLVM Phabricator instance.

Win64: set HasWinCFI for naked functions
AbandonedPublic

Authored by TimNN on May 3 2017, 12:05 PM.

Details

Reviewers
asl
majnemer
Summary

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

HasWinCFI is normally set during prolog insertion, since that doesn't happen for naked functions it remains unset for those which causes assertion errors later.

Diff Detail

Event Timeline

TimNN created this revision.May 3 2017, 12:05 PM
TimNN abandoned this revision.May 3 2017, 9:43 PM

Another fix has been commited.