diff options
author | Greg Clayton <gclayton@apple.com> | 2015-08-26 22:57:51 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2015-08-26 22:57:51 +0000 |
commit | 6071e6fc9430add9873523733ab099b5578929e6 (patch) | |
tree | 6b00ad85e6488708ccf8ceebaae608390e7db328 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | |
parent | 8cd9d7acb25eec1f0c5fa190759213030f5e1ec8 (diff) | |
download | bcm5719-llvm-6071e6fc9430add9873523733ab099b5578929e6.tar.gz bcm5719-llvm-6071e6fc9430add9873523733ab099b5578929e6.zip |
Major DWARF cleanup.
Added a new class called DWARFDIE that contains a DWARFCompileUnit and DWARFDebugInfoEntry so that these items always stay together.
There were many places where we just handed out DWARFDebugInfoEntry pointers and then use them with a compile unit that may or may not be the correct one. Clients outside of DWARFCompileUnit and DWARFDebugInfoEntry should all be dealing with DWARFDIE instances instead of playing with DWARFCompileUnit/DWARFDebugInfoEntry pairs manually.
This paves to the way for some modifications that are coming for DWO.
llvm-svn: 246100
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
0 files changed, 0 insertions, 0 deletions