diff options
author | Ekaterina Romanova <katya_romanova@playstation.sony.com> | 2016-12-16 05:10:11 +0000 |
---|---|---|
committer | Ekaterina Romanova <katya_romanova@playstation.sony.com> | 2016-12-16 05:10:11 +0000 |
commit | 25da8a9b53bb7789e3b91edecb026b9968165f5f (patch) | |
tree | 40ae597122fb45cc4ca338d7b244e108ad14be0d /llvm/test/MC/ELF/empty-dwarf-lines.s | |
parent | 73fd4936181557019d4662ad8ab80d41dd9f30d9 (diff) | |
download | bcm5719-llvm-25da8a9b53bb7789e3b91edecb026b9968165f5f.tar.gz bcm5719-llvm-25da8a9b53bb7789e3b91edecb026b9968165f5f.zip |
Update .debug_line section version information to match DWARF version.
One more attempt to re-commit the patch r285355, which I had to revert in r285362, because some tests were failing (the reason is because the size of the line_table varied depending on the full file name).
In the past the compiler always emitted .debug_line version 2, though some opcodes from DWARF 3 (e.g. DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin or DW_LNS_set_isa) and from DWARF 4 could be emitted by the compiler.
This patch changes version information of .debug_line to exactly match the DWARF version. For .debug_line version 4, a new field maximum_operations_per_instruction is emitted.
Differential Revision: https://reviews.llvm.org/D16697
llvm-svn: 289925
Diffstat (limited to 'llvm/test/MC/ELF/empty-dwarf-lines.s')
-rw-r--r-- | llvm/test/MC/ELF/empty-dwarf-lines.s | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/MC/ELF/empty-dwarf-lines.s b/llvm/test/MC/ELF/empty-dwarf-lines.s index 19305709cda..3b14fe0e6c5 100644 --- a/llvm/test/MC/ELF/empty-dwarf-lines.s +++ b/llvm/test/MC/ELF/empty-dwarf-lines.s @@ -15,7 +15,7 @@ c: // CHECK-NEXT: ] // CHECK-NEXT: Address: 0x0 // CHECK-NEXT: Offset: 0x44 -// CHECK-NEXT: Size: 39 +// CHECK-NEXT: Size: 40 // CHECK-NEXT: Link: 0 // CHECK-NEXT: Info: 0 // CHECK-NEXT: AddressAlignment: 1 |