[Lldb-commits] [PATCH] D83512: [lldb/Module] Allow for the creation of memory-only modules

Frederic Riss via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Jul 9 14:36:58 PDT 2020


friss created this revision.
friss added a reviewer: labath.
Herald added subscribers: MaskRay, emaste.
Herald added a reviewer: espindola.
Herald added a project: LLDB.

This patch extends the ModuleSpec class to include a
DataBufferSP which contains the module data. If this
data is provided, LLDB won't try to hit the filesystem
to create the Module, but use only the data stored in
the ModuleSpec.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D83512

Files:
  lldb/include/lldb/Core/Module.h
  lldb/include/lldb/Core/ModuleSpec.h
  lldb/include/lldb/Symbol/ObjectFile.h
  lldb/include/lldb/Utility/DataBuffer.h
  lldb/source/Core/Module.cpp
  lldb/source/Symbol/ObjectFile.cpp
  lldb/unittests/ObjectFile/ELF/TestObjectFileELF.cpp
  lldb/unittests/Symbol/TestLineEntry.cpp
  lldb/unittests/TestingSupport/TestUtilities.cpp
  lldb/unittests/TestingSupport/TestUtilities.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83512.276840.patch
Type: text/x-patch
Size: 13780 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200709/b7325657/attachment-0001.bin>


More information about the lldb-commits mailing list