summaryrefslogtreecommitdiff
path: root/lib/Bitcode/Reader/BitstreamReader.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
commit9528b0e466ace36268abe9d011fffc67d831088c (patch)
tree2bd7af88cd009b421bc6f0312d3a9bb4ac88dab7 /lib/Bitcode/Reader/BitstreamReader.cpp
parentb3350acc2634e5a5ba723c99beddcbf8f2ad58ea (diff)
downloadllvm-9528b0e466ace36268abe9d011fffc67d831088c.tar.gz
llvm-9528b0e466ace36268abe9d011fffc67d831088c.tar.bz2
llvm-9528b0e466ace36268abe9d011fffc67d831088c.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191209 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader/BitstreamReader.cpp')
0 files changed, 0 insertions, 0 deletions