[Lldb-commits] [PATCH] D59854: [Host] Add LibraryLoader abstraction around dlopen/LoadLibrary

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Mar 26 16:42:46 PDT 2019


JDevlieghere created this revision.
JDevlieghere added reviewers: zturner, stella.stamenova, davide.
Herald added a subscriber: mgorny.
Herald added a project: LLDB.
JDevlieghere added a reviewer: labath.

Since there's no dlopen on Windows, we need a cross platform abstraction. The LibraryLoader is exactly that.

I've kept it as simple as possible for now.

As per usual I don't have access to a Windows machine. If anybody could test this before we check this in (looks at @zturner and @stella.stamenova) that would be great! ;-)


Repository:
  rLLDB LLDB

https://reviews.llvm.org/D59854

Files:
  lldb/include/lldb/Host/LibraryLoader.h
  lldb/source/Host/CMakeLists.txt
  lldb/source/Host/posix/LibraryLoader.cpp
  lldb/source/Host/windows/LibraryLoader.cpp
  lldb/unittests/Host/CMakeLists.txt
  lldb/unittests/Host/LibraryLoaderTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59854.192386.patch
Type: text/x-patch
Size: 6044 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190326/01e70ed6/attachment.bin>


More information about the lldb-commits mailing list