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/lib/CodeGen/MachineCSE.cpp | |
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/lib/CodeGen/MachineCSE.cpp')
0 files changed, 0 insertions, 0 deletions