This is an archive of the discontinued LLVM Phabricator instance.

R600: Fix assert on empty function
ClosedPublic

Authored by arsenm on Oct 21 2014, 9:08 PM.

Details

Reviewers
arsenm
Summary

If a function is just an unreachable, this would hit a
"this is not a MachO target" assertion because of setting
HasSubsectionViaSymbols.

Diff Detail

Event Timeline

arsenm updated this revision to Diff 15230.Oct 21 2014, 9:08 PM
arsenm retitled this revision from to R600: Fix assert on empty function .
arsenm updated this object.
arsenm edited the test plan for this revision. (Show Details)
arsenm added a subscriber: Unknown Object (MLST).
arsenm accepted this revision.Nov 13 2014, 12:08 PM
arsenm added a reviewer: arsenm.

r221920

This revision is now accepted and ready to land.Nov 13 2014, 12:08 PM
arsenm closed this revision.Nov 13 2014, 12:08 PM