llvm-project/llvm/test/MC
Ekaterina Romanova 25da8a9b53 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
2016-12-16 05:10:11 +00:00
..
AArch64 [Assembler] Better error messages for .org directive 2016-12-14 10:43:58 +00:00
AMDGPU AMDGPU: Assembler support for vintrp instructions 2016-12-15 20:40:20 +00:00
ARM [Assembler] Better error messages for .org directive 2016-12-14 10:43:58 +00:00
AVR [AVR] Add all of the machine code test suite 2016-11-09 23:46:25 +00:00
AsmParser [Assembler] Better error messages for .org directive 2016-12-14 10:43:58 +00:00
COFF Emit S_COMPILE3 record once per TU rather than once per function 2016-11-02 21:30:35 +00:00
Disassembler AMDGPU: Change vintrp printing 2016-12-14 16:36:12 +00:00
ELF Update .debug_line section version information to match DWARF version. 2016-12-16 05:10:11 +00:00
Hexagon [Hexagon] Fix disassembler crash after r279255 2016-09-09 21:45:00 +00:00
Lanai [lanai] Add more tests for assembly of conditional ALU ops 2016-07-11 17:58:16 +00:00
MachO Update .debug_line section version information to match DWARF version. 2016-12-16 05:10:11 +00:00
Markup
Mips [mips] For PIC code convert unconditional jump to unconditional branch 2016-12-12 17:40:26 +00:00
PowerPC [PPC] Slightly Improve Assembly Parsing errors and add EOL comment 2016-12-05 14:11:03 +00:00
Sparc Don't pass a Reloc::Model to MC. 2016-05-18 11:58:50 +00:00
SystemZ [SystemZ] Support remaining atomic instructions 2016-12-02 18:24:16 +00:00
X86 [LMT] Restrict nop length to one 2016-12-01 15:19:10 +00:00