Refactor how passes get a symbol at the end of a section.
authorRafael Espindola <rafael.espindola@gmail.com>
Mon, 23 Mar 2015 21:22:04 +0000 (21:22 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Mon, 23 Mar 2015 21:22:04 +0000 (21:22 +0000)
commit79cd79b1e6ff987df4edbce1c493eb253cac96f7
treee3c830db1b9740e2584cae71b586372b94898ecb
parentdce96380c111c68efe50baa7a4d26bc0925dd9a6
Refactor how passes get a symbol at the end of a section.

There is now a canonical symbol at the end of a section that different
passes can request.

This also allows us to assert that we don't switch back to a section whose
end symbol has already been printed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233026 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCSection.h
include/llvm/MC/MCStreamer.h
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/MC/MCDwarf.cpp
lib/MC/MCSection.cpp
lib/MC/MCStreamer.cpp
test/DebugInfo/X86/dwarf-aranges.ll
test/DebugInfo/X86/multiple-aranges.ll