Print section start labels when first switching to the section.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 11 Mar 2015 00:51:37 +0000 (00:51 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 11 Mar 2015 00:51:37 +0000 (00:51 +0000)
commit658236dec2310e5c3f7bad43591f4b5cb13357c1
tree92b315b70ec01af88240782f207c0ee33525d5ee
parent94c37b0b6aad89ba1f478e01693754cc457150fc
Print section start labels when first switching to the section.

This is less brittle and avoids polluting the start of the file with every
debug section.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231898 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.h
lib/MC/MCStreamer.cpp
test/DebugInfo/2010-06-29-InlinedFnLocalVar.ll
test/DebugInfo/AArch64/struct_by_value.ll
test/DebugInfo/PowerPC/tls-fission.ll
test/DebugInfo/X86/dbg-i128-const.ll
test/DebugInfo/X86/header.ll [new file with mode: 0644]
test/DebugInfo/X86/stmt-list.ll
test/DebugInfo/X86/tls.ll
test/DebugInfo/array.ll
test/MC/ELF/gen-dwarf.s