OSDN Git Service

Sink dwarf unit length emission down into DwarfUnit::emitHeader
authorDavid Blaikie <dblaikie@gmail.com>
Sat, 1 Nov 2014 23:59:23 +0000 (23:59 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Sat, 1 Nov 2014 23:59:23 +0000 (23:59 +0000)
commit5e8ee21fb6e9b27c8c678484e3ae486d33c27ce8
treecc065431d391f20a3d036553a60a7d7132c601e0
parentd457d52613ad948581638a13ccdfc0e08b1e6640
Sink dwarf unit length emission down into DwarfUnit::emitHeader

This allows the CU label to be emitted only for compile units, as
they're the only ones that need it (so they can be referenced from
pubnames)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221072 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
lib/CodeGen/AsmPrinter/DwarfFile.cpp
lib/CodeGen/AsmPrinter/DwarfUnit.cpp