[pecoff] Implement ObjectFilePECOFF::GetDependedModules()
authorAaron Smith <aaron.smith@microsoft.com>
Thu, 6 Dec 2018 21:36:39 +0000 (21:36 +0000)
committerAaron Smith <aaron.smith@microsoft.com>
Thu, 6 Dec 2018 21:36:39 +0000 (21:36 +0000)
commit037ed1befd3ae2677cb09af72214420e80344f0a
tree11fa0dbf9aca81c081071db809437055fe6ee5d1
parent488214fe847885b081cbcbee361d8f52c600d85e
[pecoff] Implement ObjectFilePECOFF::GetDependedModules()

Summary:
This parses entries in pecoff import tables for imported DLLs and
is intended as the first step to allow LLDB to load a PE's shared
modules when creating a target on the LLDB console.

Reviewers: rnk, zturner, aleksandr.urakov, lldb-commits, labath, asmith

Reviewed By: labath, asmith

Subscribers: labath, lemo, clayborg, Hui, mgorny, mgrang, teemperor

Differential Revision: https://reviews.llvm.org/D53094

llvm-svn: 348527
lldb/lit/Modules/PECOFF/dep-modules.yaml [new file with mode: 0644]
lldb/lit/Modules/PECOFF/export-dllfunc.yaml [new file with mode: 0644]
lldb/lit/Modules/PECOFF/lit.local.cfg [new file with mode: 0644]
lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.h
lldb/tools/lldb-test/lldb-test.cpp