[all-commits] [llvm/llvm-project] 611bd6: [lldb] Make exe_ctx an optional argument in Option...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Tue May 2 10:36:25 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 611bd6c6aeb9a9d194aa128e2d20b4b6bbb1fc84
      https://github.com/llvm/llvm-project/commit/611bd6c6aeb9a9d194aa128e2d20b4b6bbb1fc84
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2023-05-02 (Tue, 02 May 2023)

  Changed paths:
    M lldb/include/lldb/Interpreter/OptionValueProperties.h
    M lldb/source/Core/Debugger.cpp
    M lldb/source/Core/ModuleList.cpp
    M lldb/source/Interpreter/CommandInterpreter.cpp
    M lldb/source/Interpreter/OptionValueProperties.cpp
    M lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp
    M lldb/source/Plugins/JITLoader/GDB/JITLoaderGDB.cpp
    M lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
    M lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
    M lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp
    M lldb/source/Plugins/Platform/QemuUser/PlatformQemuUser.cpp
    M lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp
    M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
    M lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
    M lldb/source/Target/Platform.cpp
    M lldb/source/Target/Process.cpp
    M lldb/source/Target/Target.cpp
    M lldb/source/Target/Thread.cpp
    M lldb/unittests/Interpreter/TestOptionValue.cpp

  Log Message:
  -----------
  [lldb] Make exe_ctx an optional argument in OptionValueProperties (NFC)

The majority of call sites are nullptr as the execution context.
Refactor OptionValueProperties to make the argument optional and
simplify all the callers.




More information about the All-commits mailing list