[all-commits] [llvm/llvm-project] f2e058: [lldb] Access the ModuleList through iterators whe...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Thu Jan 7 21:10:50 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f2e05855deb39125a30a67b63a5e524792805768
      https://github.com/llvm/llvm-project/commit/f2e05855deb39125a30a67b63a5e524792805768
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2021-01-07 (Thu, 07 Jan 2021)

  Changed paths:
    M lldb/include/lldb/Core/ModuleList.h
    M lldb/include/lldb/Utility/Iterable.h
    M lldb/source/Breakpoint/Breakpoint.cpp
    M lldb/source/Commands/CommandObjectTarget.cpp
    M lldb/source/Core/ModuleList.cpp
    M lldb/source/Core/SearchFilter.cpp
    M lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp
    M lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.cpp
    M lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp
    M lldb/source/Plugins/DynamicLoader/Static/DynamicLoaderStatic.cpp
    M lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
    M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp
    M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
    M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.cpp
    M lldb/source/Plugins/MemoryHistory/asan/MemoryHistoryASan.cpp
    M lldb/source/Target/Process.cpp

  Log Message:
  -----------
  [lldb] Access the ModuleList through iterators where possible (NFC)

Replace uses of GetModuleAtIndexUnlocked and
GetModulePointerAtIndexUnlocked with the ModuleIterable and
ModuleIterableNoLocking where applicable.

Differential revision: https://reviews.llvm.org/D94271


  Commit: 57e0cd356287321c4847a9e0a9177516dae0cbc1
      https://github.com/llvm/llvm-project/commit/57e0cd356287321c4847a9e0a9177516dae0cbc1
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2021-01-07 (Thu, 07 Jan 2021)

  Changed paths:
    M lldb/include/lldb/Target/Process.h
    M lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp
    M lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/HexagonDYLDRendezvous.cpp
    M lldb/source/Plugins/JITLoader/GDB/JITLoaderGDB.cpp

  Log Message:
  -----------
  [lldb] Make DoReadMemory a protected method.

DoReadMemory is LLDB's internal implementation and shouldn't be called
directly.

Differential revision: https://reviews.llvm.org/D94284


Compare: https://github.com/llvm/llvm-project/compare/b934160aaa36...57e0cd356287


More information about the All-commits mailing list