Page MenuHomePhabricator

[DebugInfo][NFC] Remove handler with ErrorPolicy from DWARFContext.
ClosedPublic

Authored by avl on Feb 25 2020, 7:55 AM.

Details

Summary

Current LLVM code base does not use error handler with ErrorPolicy.
This patch removes ErrorPolicy from DWARFContext.

This patch is extracted from the D74308.

Diff Detail

Event Timeline

avl created this revision.Feb 25 2020, 7:55 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 25 2020, 7:55 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
grimar accepted this revision.Feb 26 2020, 12:21 AM

I have only one comment. LGTM with it. Please wait to see if others have any comments too.

llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
2509

There are no more error reporting policies, so the test needs a rename probably.
Perhaps just TestErrorReporting?

This revision is now accepted and ready to land.Feb 26 2020, 12:21 AM
This revision was automatically updated to reflect the committed changes.