llvm-project/llvm/lib/DebugInfo
Victor Leschuk cf1f714d3b [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

llvm-svn: 340528
2018-08-23 12:43:33 +00:00
..
CodeView [CodeView] Minimal support for S_UNAMESPACE records 2018-07-31 19:15:50 +00:00
DWARF [DWARF] Unify warning callbacks. NFC. 2018-08-23 12:43:33 +00:00
MSF Move some code from PDBFileBuilder to MSFBuilder. 2018-06-27 21:18:15 +00:00
PDB [codeview] Use push_macro to avoid conflicts instead of a prefix 2018-08-16 17:34:31 +00:00
Symbolize Remove trailing space 2018-07-30 19:41:25 +00:00
CMakeLists.txt [msf] Resubmit "Rename Msf -> MSF". 2016-07-29 20:56:36 +00:00
LLVMBuild.txt [msf] Resubmit "Rename Msf -> MSF". 2016-07-29 20:56:36 +00:00