Remove DwarfUnit::LabelEnd in favor of computing the length of the section directly
authorDavid Blaikie <dblaikie@gmail.com>
Sat, 1 Nov 2014 23:07:14 +0000 (23:07 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Sat, 1 Nov 2014 23:07:14 +0000 (23:07 +0000)
commit983bfea0d0f7b35eb6824921bae6fb56db3c5437
treee899d245231eec399028eb49d89f21a55b2040ef
parente1c664b13680a06711c744cd9a7da93b1b759bdc
Remove DwarfUnit::LabelEnd in favor of computing the length of the section directly

This was a compile-unit specific label (unused in type units) and seems
unnecessary anyway when we can more easily directly compute the size of
the compile unit.

llvm-svn: 221067
llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h
llvm/test/DebugInfo/X86/ref_addr_relocation.ll
llvm/test/DebugInfo/dwarf-public-names.ll