OSDN Git Service

DebugInfo: Generalize LoadedObjectInfoHelper from RuntimeDyld
authorDavid Blaikie <dblaikie@gmail.com>
Wed, 5 Jul 2017 15:23:56 +0000 (15:23 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Wed, 5 Jul 2017 15:23:56 +0000 (15:23 +0000)
commit4a35644b43f851d53923bf56018ec56091435e56
tree8605781dc8bfbf571dc40abbd193fa0e045ec9f4
parentb26b47eeb0dd22679e67e940316eb2294989fe3d
DebugInfo: Generalize LoadedObjectInfoHelper from RuntimeDyld

Make it usable by any class derived (even indirectly) from
LoadedObjectInfo by allowing a custom base class to be specified and
perfect forwarding to the ctor.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307166 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/DebugInfo/DIContext.h
include/llvm/ExecutionEngine/RuntimeDyld.h
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldCOFF.cpp
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp