Handle abbr_offset with relocations.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 21 Mar 2018 21:31:25 +0000 (21:31 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 21 Mar 2018 21:31:25 +0000 (21:31 +0000)
commitc51dc906eacd1fea184839bf5a05acff4046e352
tree8cef6ce1b2d930669da074f0e1ed316bcac6d2c0
parent8a5943f5691920cd1c2dfde975dc1951f7d8e5b4
Handle abbr_offset with relocations.

This is mostly just plumbing to get a DWARFDataExtractor where we
compute abbr_offset so we can use getRelocatedValue.

This is part of PR36793.

llvm-svn: 328154
llvm/include/llvm/DebugInfo/DWARF/DWARFTypeUnit.h
llvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h
llvm/lib/DebugInfo/DWARF/DWARFTypeUnit.cpp
llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
llvm/test/DebugInfo/X86/abbr_offset.s [new file with mode: 0644]