summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/DIContext.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-09-23 17:42:01 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-09-23 17:42:01 +0000
commit1b5ee5d9f19bd9dcbe8fd57d9c56548e5e4527c7 (patch)
tree01a060291adce5a655e89f47600b36631f2dd5fa /llvm/lib/DebugInfo/DIContext.cpp
parentf1bd57814ae0e94fc32b0eaf5086676d132959a3 (diff)
downloadbcm5719-llvm-1b5ee5d9f19bd9dcbe8fd57d9c56548e5e4527c7.tar.gz
bcm5719-llvm-1b5ee5d9f19bd9dcbe8fd57d9c56548e5e4527c7.zip
DebugInfo: Wrap section data and relocs together for dwarf dumping support
This is a small step that may enable some simplifications in producer (DWARFContext) and consumer (DWARFCompileUnit and other places) by making a more complete abstraction around the data and relocations for a section. Small initial steps could include simple changes such as passing the pair to DWARFCompileUnit's ctor rather than passing the data and relocs separately. I don't intend to pursue any such changes immediately, however. The motivation for doing this now is that type unit dumping will need to deal with these data+reloc pairs moreso than the existing dumping support has needed to associate the data as type unit sections are named the same (debug_types) and comdat group folded. So to implement dumping and reloc handling we'll need a mapping of section->data+relocs. llvm-svn: 191209
Diffstat (limited to 'llvm/lib/DebugInfo/DIContext.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud