1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/include/llvm/BinaryFormat
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
..
ELFRelocs Add missed files from prev. commit 2018-11-15 12:35:04 +00:00
AMDGPUMetadataVerifier.h [AMDGPU] Emit MessagePack HSA Metadata for v3 code object 2018-12-12 19:39:27 +00:00
COFF.h Remove @brief commands from doxygen comments, too. 2018-05-01 16:10:38 +00:00
Dwarf.def llvm-dwarfdump: Improve/fix pretty printing of array dimensions 2018-12-19 19:34:24 +00:00
Dwarf.h llvm-dwarfdump: Improve/fix pretty printing of array dimensions 2018-12-19 19:34:24 +00:00
DynamicTags.def [llvm-readobj] Add experimental support for SHT_RELR sections 2018-06-28 21:07:34 +00:00
ELF.h [AMDGPU] Emit MessagePack HSA Metadata for v3 code object 2018-12-12 19:39:27 +00:00
MachO.def
MachO.h Replace LLVM_ALIGNAS with alignas as a follow-up of r337330 2018-07-27 05:38:14 +00:00
Magic.h Remove @brief commands from doxygen comments, too. 2018-05-01 16:10:38 +00:00
MsgPack.def [BinaryFormat] Add MessagePack reader/writer 2018-08-22 21:42:50 +00:00
MsgPack.h [BinaryFormat] Add MessagePack reader/writer 2018-08-22 21:42:50 +00:00
MsgPackReader.h [BinaryFormat] Add MessagePack reader/writer 2018-08-22 21:42:50 +00:00
MsgPackTypes.h [BinaryFormat] Add MsgPackTypes 2018-11-15 18:50:01 +00:00
MsgPackWriter.h [BinaryFormat] Add MessagePack reader/writer 2018-08-22 21:42:50 +00:00
Wasm.h [WebAssembly] Check if the section order is correct 2018-12-15 00:58:12 +00:00
WasmRelocs.def [WebAssembly] Add support for the event section 2018-11-14 02:46:21 +00:00