OSDN Git Service

Don't expose a map in the DWARFContext interface.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 12 Jul 2017 21:08:24 +0000 (21:08 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 12 Jul 2017 21:08:24 +0000 (21:08 +0000)
commit41cc19a3ac52a8d898f8a0051f56ebb30ade6e22
tree7624902b264570d4c829bac4dcf2770e39c0fad6
parentc66d417e68033c9fa44cba53a3e5bfd88560fb21
Don't expose a map in the DWARFContext interface.

Doing so is leaking an implementation detail.

I have an implementation that uses the lld infrastructure and doesn't
use a map or object::SectionRef.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307846 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/DebugInfo/DWARF/DWARFContext.h
lib/DebugInfo/DWARF/DWARFContext.cpp