[all-commits] [llvm/llvm-project] 623ad8: [lldb] Fix SBPlatform after f4be9ff6458f

Alex via All-commits all-commits at lists.llvm.org
Wed Jun 14 15:46:30 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 623ad8a8ddc96e9dee4f354ee4e7b3e7c11b119f
      https://github.com/llvm/llvm-project/commit/623ad8a8ddc96e9dee4f354ee4e7b3e7c11b119f
  Author: Alex Langford <alangford at apple.com>
  Date:   2023-06-14 (Wed, 14 Jun 2023)

  Changed paths:
    M lldb/source/API/SBPlatform.cpp

  Log Message:
  -----------
  [lldb] Fix SBPlatform after f4be9ff6458f

If you pass `nullptr` (or `None` from python) to SBPlatform::SetSDKRoot,
LLDB crashes. Let's be more resilient to `nullptr` here.

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




More information about the All-commits mailing list