summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/X86/empty.ll
diff options
context:
space:
mode:
authorEkaterina Romanova <katya_romanova@playstation.sony.com>2016-12-16 05:10:11 +0000
committerEkaterina Romanova <katya_romanova@playstation.sony.com>2016-12-16 05:10:11 +0000
commit25da8a9b53bb7789e3b91edecb026b9968165f5f (patch)
tree40ae597122fb45cc4ca338d7b244e108ad14be0d /llvm/test/DebugInfo/X86/empty.ll
parent73fd4936181557019d4662ad8ab80d41dd9f30d9 (diff)
downloadbcm5719-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/DebugInfo/X86/empty.ll')
-rw-r--r--llvm/test/DebugInfo/X86/empty.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/DebugInfo/X86/empty.ll b/llvm/test/DebugInfo/X86/empty.ll
index e156e3bbe5e..6506f5567ad 100644
--- a/llvm/test/DebugInfo/X86/empty.ll
+++ b/llvm/test/DebugInfo/X86/empty.ll
@@ -4,7 +4,7 @@
; Expect no line table entry since there are no functions and file references in this compile unit
; CHECK: .debug_line contents:
; CHECK: Line table prologue:
-; CHECK: total_length: 0x00000019
+; CHECK: total_length: 0x0000001a
; CHECK-NOT: file_names[
; CHECK: .debug_pubnames contents:
OpenPOWER on IntegriCloud