This is an archive of the discontinued LLVM Phabricator instance.

hwasan: Allow range of frame descriptors to be empty.
ClosedPublic

Authored by pcc on Dec 17 2018, 4:45 PM.

Details

Summary

As of r349413 it's now possible for a binary to contain an empty
hwasan frame section. Handle that case simply by doing nothing.

Diff Detail

Event Timeline

pcc created this revision.Dec 17 2018, 4:45 PM
eugenis accepted this revision.Dec 17 2018, 4:47 PM

LGTM
consider keeping a CHECK_GE(end, beg)

This revision is now accepted and ready to land.Dec 17 2018, 4:47 PM
This revision was automatically updated to reflect the committed changes.
Herald added a subscriber: Restricted Project. · View Herald TranscriptDec 17 2018, 4:51 PM