llvm-mirror/lib/DebugInfo/DWARF
James Henderson 7c86978535 [DebugInfo] Print non-verbose output at some point as verbose output
Verbose and non-verbose parsing of .debug_line produced their output at
different points in the program. The most obvious impact of this was
that error messages were produced at different times, but it also
potentially reduced what clients could do by customising the stream or
warning/error handlers.

This change makes the two variants consistent by printing non-verbose
output inline, the same as verbose output.

Testing of the error messages has been modified to check the messages
always appear in the same location to illustrate the behaviour.

Reviewed by: JDevlieghere, dblaikie, MaskRay, labath

Differential Revision: https://reviews.llvm.org/D80989
2020-06-09 14:24:53 +01:00
..
CMakeLists.txt Temporarily Revert "[Dsymutil][Debuginfo][NFC] Refactor dsymutil to separate DWARF optimizing part 2." 2019-12-19 13:29:02 -08:00
DWARFAbbreviationDeclaration.cpp [Debuginfo] Remove redundand variable from getAttributeValue() 2020-04-24 16:35:31 +03:00
DWARFAcceleratorTable.cpp [DebugInfo] Report the format of .debug_names [2/10] 2020-06-02 17:55:30 +07:00
DWARFAddressRange.cpp Re-commit "DWARF location lists: Add section index dumping" 2019-11-18 15:30:10 +01:00
DWARFCompileUnit.cpp [DebugInfo] Report the format of compilation units [3/10] 2020-06-02 17:55:30 +07:00
DWARFContext.cpp [DebugInfo] Print non-verbose output at some point as verbose output 2020-06-09 14:24:53 +01:00
DWARFDataExtractor.cpp Fix DWARFDataExtractor::getRelocatedValue near EOF 2020-04-15 12:47:57 +02:00
DWARFDebugAbbrev.cpp Switch LLVM to use 64-bit offsets (2/5) 2019-08-06 10:49:40 +00:00
DWARFDebugAddr.cpp [DebugInfo] Report the format of address tables [4/10] 2020-06-02 17:55:30 +07:00
DWARFDebugAranges.cpp Use DWARFDataExtractor::getInitialLength in debug_aranges 2020-03-04 13:01:07 +01:00
DWARFDebugArangeSet.cpp [DebugInfo] Report the format of address range tables [5/10] 2020-06-02 17:55:30 +07:00
DWARFDebugFrame.cpp [DebugInfo] Report the format of call frame information entries [6/10] 2020-06-02 17:55:30 +07:00
DWARFDebugInfoEntry.cpp Switch LLVM to use 64-bit offsets (2/5) 2019-08-06 10:49:40 +00:00
DWARFDebugLine.cpp [DebugInfo] Print non-verbose output at some point as verbose output 2020-06-09 14:24:53 +01:00
DWARFDebugLoc.cpp Reland D79501 "[DebugInfo] Fix handling DW_OP_call_ref in DWARF64 units." 2020-05-08 09:35:54 -07:00
DWARFDebugMacro.cpp [DWARF5]: Added support for dumping strx forms in llvm-dwarfdump 2020-05-12 10:29:18 +05:30
DWARFDebugPubTable.cpp [DebugInfo] Report the format of tables in .debug_pub* sections [8/10] 2020-06-02 17:55:31 +07:00
DWARFDebugRangeList.cpp Switch LLVM to use 64-bit offsets (2/5) 2019-08-06 10:49:40 +00:00
DWARFDebugRnglists.cpp [DWARFDebugRnglists] Add a callback-based version of the getAbsoluteRanges function 2019-12-04 10:35:57 +01:00
DWARFDie.cpp Reland D79501 "[DebugInfo] Fix handling DW_OP_call_ref in DWARF64 units." 2020-05-08 09:35:54 -07:00
DWARFExpression.cpp [DebugInfo] Dump raw data in a case of decoding error of an expression. 2020-05-09 10:04:22 +07:00
DWARFFormValue.cpp [DebugInfo] Dump form values according to the DWARF format (2/8). 2020-05-19 13:35:07 +07:00
DWARFGdbIndex.cpp Switch LLVM to use 64-bit offsets (2/5) 2019-08-06 10:49:40 +00:00
DWARFListTable.cpp [DebugInfo] Report the format of location and range lists [9/10] 2020-06-02 17:55:31 +07:00
DWARFLocationExpression.cpp Add streaming/equality operators to DWARFAddressRange/DWARFLocationExpression 2019-11-19 10:34:30 +01:00
DWARFTypeUnit.cpp [DebugInfo] Report the format of type units [10/10] 2020-06-02 17:55:31 +07:00
DWARFUnit.cpp [DebugInfo][DWARF64] Fix dumping pre-standard .debug_str_offsets.dwo sections. 2020-04-25 18:59:41 +07:00
DWARFUnitIndex.cpp [DebugInfo] Support DWARFv5 index sections. 2020-04-06 13:28:06 +07:00
DWARFVerifier.cpp [llvm-dwarfdump] Add a table header for -debug-line -verbose output 2020-06-04 08:56:17 -07:00
LLVMBuild.txt Temporarily Revert "[Dsymutil][Debuginfo][NFC] Refactor dsymutil to separate DWARF optimizing part 2." 2019-12-19 13:29:02 -08:00