OSDN Git Service

DebugInfo: Move the reference to the CU from the location list entry to the list...
authorDavid Blaikie <dblaikie@gmail.com>
Tue, 5 Aug 2014 23:14:16 +0000 (23:14 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Tue, 5 Aug 2014 23:14:16 +0000 (23:14 +0000)
commit5bfa4ba44d9f1457cfad58941e5e334fc69c21c2
treeef3c9827d5f9754049cd4e6421f6a66b36bac677
parent9920f561c35cfb0d725066e04c4bf1e2f9d18e8a
DebugInfo: Move the reference to the CU from the location list entry to the list itself, since it is constant across an entire list.

This simplifies construction and usage while making the data structure
smaller. It was a holdover from the days when we didn't have a separate
DebugLocList and all we had was a flat list of DebugLocEntries.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214933 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DebugLocEntry.h
lib/CodeGen/AsmPrinter/DebugLocList.h
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.h