Files
llvm/lib/DebugInfo
Victor Leschuk 271b93a605 [DWARF] Unify warning callbacks. NFC.
Both DWARFDebugLine and DWARFDebugAddr used the same callback mechanism
for handling recoverable errors. They both implemented similar warn() function
to be used as such callbacks.

In this revision we get rid of code duplication and move this warn() function
to DWARFContext as DWARFContext::dumpWarning().

Reviewers: lhames, jhenderson, aprantl, probinson, dblaikie, JDevlieghere

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D51033



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@340528 91177308-0d34-0410-b5e6-96231b3b80d8
2018-08-23 12:43:33 +00:00
..
2018-07-30 19:41:25 +00:00