[all-commits] [llvm/llvm-project] a4a00c: [lldb/Module] Allow for the creation of memory-onl...

fredriss via All-commits all-commits at lists.llvm.org
Tue Jul 14 08:47:19 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a4a00ced0cf8cc5663ff0ced801d6139153f3f76
      https://github.com/llvm/llvm-project/commit/a4a00ced0cf8cc5663ff0ced801d6139153f3f76
  Author: Fred Riss <friss at apple.com>
  Date:   2020-07-14 (Tue, 14 Jul 2020)

  Changed paths:
    M lldb/include/lldb/Core/Module.h
    M lldb/include/lldb/Core/ModuleSpec.h
    M lldb/include/lldb/Symbol/ObjectFile.h
    M lldb/include/lldb/Utility/DataBuffer.h
    M lldb/source/Core/Module.cpp
    M lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
    M lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
    M lldb/source/Symbol/ObjectFile.cpp
    M lldb/unittests/Core/CMakeLists.txt
    M lldb/unittests/Core/MangledTest.cpp
    A lldb/unittests/Core/ModuleSpecTest.cpp
    M lldb/unittests/ObjectFile/ELF/TestObjectFileELF.cpp
    M lldb/unittests/ObjectFile/PECOFF/TestPECallFrameInfo.cpp
    M lldb/unittests/Symbol/TestDWARFCallFrameInfo.cpp
    M lldb/unittests/Symbol/TestLineEntry.cpp
    M lldb/unittests/TestingSupport/TestUtilities.cpp
    M lldb/unittests/TestingSupport/TestUtilities.h

  Log Message:
  -----------
  [lldb/Module] Allow for the creation of memory-only modules

Summary:
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.

Reviewers: labath, espindola

Subscribers: emaste, MaskRay, lldb-commits

Tags: #lldb

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




More information about the All-commits mailing list