1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/lib/DebugInfo/DWARF
David Blaikie 5e40209fa5 llvm-dwarfdump: Improve/fix pretty printing of array dimensions
This is to address post-commit feedback from Paul Robinson on r348954.

The original commit misinterprets count and upper bound as the same thing (I thought I saw GCC producing an upper bound the same as Clang's count, but GCC correctly produces an upper bound that's one less than the count (in C, that is, where arrays are zero indexed)).

I want to preserve the C-like output for the common case, so in the absence of a lower bound the count (or one greater than the upper bound) is rendered between []. In the trickier cases, where a lower bound is specified, a half-open range is used (eg: lower bound 1, count 2 would be "[1, 3)" and an unknown parts use a '?' (eg: "[1, ?)" or "[?, 7)" or "[?, ? + 3)").

Reviewers: aprantl, probinson, JDevlieghere

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

llvm-svn: 349670
2018-12-19 19:34:24 +00:00
..
CMakeLists.txt [DWARF] Revert r345546: Refactor range list extraction and dumping 2018-10-31 01:12:58 +00:00
DWARFAbbreviationDeclaration.cpp Remove trailing space 2018-07-30 19:41:25 +00:00
DWARFAcceleratorTable.cpp [DWARF] Refactor DWARF classes to use unified error reporting. NFC. 2018-08-20 09:59:08 +00:00
DWARFAddressRange.cpp [DWARF v5] Support for verbose dumping of .debug_rnglist entries 2018-03-08 20:52:35 +00:00
DWARFCompileUnit.cpp [DWARFv5] Put the DWO ID in its place. 2018-05-22 17:27:31 +00:00
DWARFContext.cpp [AArch64] - Return address signing dwarf support 2018-12-18 10:37:42 +00:00
DWARFDataExtractor.cpp Reland "[DebugInfo] Support DWARF expressions in eh_frame" 2018-03-08 00:46:53 +00:00
DWARFDebugAbbrev.cpp
DWARFDebugAddr.cpp [DWARF] Do not use PRIx32 for printing uint64_t values 2018-11-12 22:43:17 +00:00
DWARFDebugAranges.cpp llvm::sort(C.begin(), C.end(), ...) -> llvm::sort(C, ...) 2018-09-27 02:13:45 +00:00
DWARFDebugArangeSet.cpp
DWARFDebugFrame.cpp [AArch64] - Return address signing dwarf support 2018-12-18 10:37:42 +00:00
DWARFDebugInfoEntry.cpp
DWARFDebugLine.cpp llvm::sort(C.begin(), C.end(), ...) -> llvm::sort(C, ...) 2018-09-27 02:13:45 +00:00
DWARFDebugLoc.cpp Use llvm::copy. NFC 2018-11-17 01:44:25 +00:00
DWARFDebugMacro.cpp [Support] Move syntax highlighting into support 2018-03-09 09:56:24 +00:00
DWARFDebugPubTable.cpp [DWARF] Change pubnames to use DWARFSection instead of StringRef 2018-11-11 18:57:28 +00:00
DWARFDebugRangeList.cpp [DWARF] Revert r345546: Refactor range list extraction and dumping 2018-10-31 01:12:58 +00:00
DWARFDebugRnglists.cpp [llvm-dwarfdump] - Stop printing the bogus empty section name on invalid dwarf. 2018-12-03 10:33:40 +00:00
DWARFDie.cpp llvm-dwarfdump: Improve/fix pretty printing of array dimensions 2018-12-19 19:34:24 +00:00
DWARFExpression.cpp DebugInfo: Use DW_OP_addrx in DWARFv5 2018-10-20 08:54:05 +00:00
DWARFFormValue.cpp [DWARF][NFC] Refactor a function to return Optional<> instead of bool 2018-10-31 21:05:51 +00:00
DWARFGdbIndex.cpp [DWARF] Support types CU list in .gdb_index dumping 2018-11-05 23:27:53 +00:00
DWARFListTable.cpp [DWARF] Revert r345546: Refactor range list extraction and dumping 2018-10-31 01:12:58 +00:00
DWARFTypeUnit.cpp [DWARF] Factor out a DWARFUnitHeader class. NFC 2018-05-14 20:32:31 +00:00
DWARFUnit.cpp Revert "DebugInfo: Assume an absence of ranges or high_pc on a CU means the CU is empty (devoid of code addresses)" 2018-12-17 14:14:40 +00:00
DWARFUnitIndex.cpp Fix unused variable warning. NFCI. 2018-09-13 10:54:23 +00:00
DWARFVerifier.cpp [DWARFv5] Read and dump multiple .debug_info sections. 2018-11-07 21:39:09 +00:00
LLVMBuild.txt