llvm-project/llvm/test/DebugInfo/ARM
Adrian Prantl 981f03e6a2 PR32288: More efficient encoding for DWARF expr subregister access.
Citing http://bugs.llvm.org/show_bug.cgi?id=32288

  The DWARF generated by LLVM includes this location:

  0x55 0x93 0x04 DW_OP_reg5 DW_OP_piece(4) When GCC's DWARF is simply
  0x55 (DW_OP_reg5) without the DW_OP_piece. I believe it's reasonable
  to assume the DWARF consumer knows which part of a register
  logically holds the value (low bytes, high bytes, how many bytes,
  etc) for a primitive value like an integer.

This patch gets rid of the redundant DW_OP_piece when a subregister is
at offset 0. It also adds previously missing subregister masking when
a subregister is followed by another operation.

(This reapplies r297960 with two additional testcase updates).

rdar://problem/31069390
https://reviews.llvm.org/D31010

llvm-svn: 297965
2017-03-16 17:14:56 +00:00
..
PR16736.ll [ARM] Generate consistent frame records for Thumb2 2016-08-23 09:19:22 +00:00
PR26163.ll [DIExpression] Introduce a dedicated DW_OP_LLVM_fragment operation 2016-12-05 18:04:47 +00:00
big-endian-bitfield.ll Renumber testcase metadata nodes after r290153. 2016-12-22 00:45:21 +00:00
big-endian-dump.ll
bitfield.ll Renumber testcase metadata nodes after r290153. 2016-12-22 00:45:21 +00:00
cfi-eof-prologue.ll DebugInfo: Remove MDString-based type references 2016-04-23 21:08:00 +00:00
constant-dbgloc.ll [PR27284] Reverse the ownership between DICompileUnit and DISubprogram. 2016-04-15 15:57:41 +00:00
float-args.ll [PR27284] Reverse the ownership between DICompileUnit and DISubprogram. 2016-04-15 15:57:41 +00:00
header.ll [ARM] Add ".code 32" to functions in the ARM instruction set 2016-09-13 12:18:15 +00:00
line.test
lit.local.cfg
little-endian-dump.ll
lowerbdgdeclare_vla.ll [PR27284] Reverse the ownership between DICompileUnit and DISubprogram. 2016-04-15 15:57:41 +00:00
multiple-constant-uses-drops-dbgloc.ll Renumber testcase metadata nodes after r290153. 2016-12-22 00:45:21 +00:00
partial-subreg.ll Fix an assertion in DwarfExpression when emitting fragments in vector registers 2016-12-22 06:10:41 +00:00
processes-relocations.ll
prologue_end.ll CodeGen: avoid emitting unnecessary CFI 2016-07-15 21:10:29 +00:00
s-super-register.ll PR32288: More efficient encoding for DWARF expr subregister access. 2017-03-16 17:14:56 +00:00
selectiondag-deadcode.ll DI: Reverse direction of subprogram -> function edge. 2015-11-05 22:03:56 +00:00
single-constant-use-preserves-dbgloc.ll Fixup failing debuginfo test for change in SimplifyCFG. 2016-09-11 09:13:32 +00:00
split-complex.ll [DIExpression] Introduce a dedicated DW_OP_LLVM_fragment operation 2016-12-05 18:04:47 +00:00
sroa-complex.ll [DIExpression] Introduce a dedicated DW_OP_LLVM_fragment operation 2016-12-05 18:04:47 +00:00
tls.ll Renumber testcase metadata nodes after r290153. 2016-12-22 00:45:21 +00:00