This is an archive of the discontinued LLVM Phabricator instance.

[DebugInfo] Remove redundant checks for past-the-end of prologue
ClosedPublic

Authored by jhenderson on Dec 20 2019, 7:17 AM.

Details

Summary

The V5 directory and filename table parsing had checks in to make sure we hadn't read past the end of the line tabel prologue. Since previous changes to the data extractor class sure we never read past the end, these checks are now redundant, so this patch removes them.

There is still a check to show that the whole prologue remains within the prologue length, which is now hit instead.

Depends on D71757.

Diff Detail

Event Timeline

jhenderson created this revision.Dec 20 2019, 7:17 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 20 2019, 7:17 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
JDevlieghere accepted this revision.Jan 2 2020, 10:44 AM
This revision is now accepted and ready to land.Jan 2 2020, 10:44 AM
This revision was automatically updated to reflect the committed changes.