OSDN Git Service

Push DwarfDebug::constructScopeDIE down into DwarfCompileUnit
authorDavid Blaikie <dblaikie@gmail.com>
Wed, 8 Oct 2014 22:20:02 +0000 (22:20 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Wed, 8 Oct 2014 22:20:02 +0000 (22:20 +0000)
commit3f2f9695c5fd922037e7c3ec257ed18e2d4c4b8e
tree911c8f8f9637d04d109f2677f05469244b4939d6
parentb05e2be02cb16ca85c3e586315ec25c6c941fe99
Push DwarfDebug::constructScopeDIE down into DwarfCompileUnit

One of many steps to generalize subprogram emission to both the DWO and
non-DWO sections (to emit -gmlt-like data under fission). Once the
functions are pushed down into DwarfCompileUnit some of the data
structures will be pushed at least into DwarfFile so that they can be
unique per-file, allowing emission to both files independently.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219345 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/iterator_range.h
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
lib/CodeGen/AsmPrinter/DwarfDebug.h