OSDN Git Service

Remove the last mention of LineTablesOnly from DwarfUnit, sinking it into DwarfCompil...
authorDavid Blaikie <dblaikie@gmail.com>
Sun, 2 Nov 2014 08:18:06 +0000 (08:18 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Sun, 2 Nov 2014 08:18:06 +0000 (08:18 +0000)
commit1fcc568ebb4b859beeeea2dadfe98a36547f9c57
treece1e947bf658c98000ccc9d6e2781db758a9203b
parentc28e37e4ddf5bc8c96287a1948710f7472e2b257
Remove the last mention of LineTablesOnly from DwarfUnit, sinking it into DwarfCompileUnit

This is a useful distinction/invariant/delination to make because
LineTablesOnly mode is never relevant to type units, so it's clear that
we're not doing weird line-tables-only-with-types by making this API
choice.

It also lays the foundations nicely for adding gmlt-like data to fission
skeleton CUs while limiting the effects to CUs and not TUs.

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