[all-commits] [llvm/llvm-project] c5cf4b: [lldb] Handle missing SBStructuredData copy assign...

Dave Lee via All-commits all-commits at lists.llvm.org
Wed May 5 15:12:39 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c5cf4b8f11cd641560b0cd6e106765721688e74a
      https://github.com/llvm/llvm-project/commit/c5cf4b8f11cd641560b0cd6e106765721688e74a
  Author: Dave Lee <davelee.com at gmail.com>
  Date:   2021-05-05 (Wed, 05 May 2021)

  Changed paths:
    M lldb/source/API/SBStructuredData.cpp
    M lldb/unittests/API/CMakeLists.txt
    A lldb/unittests/API/SBStructuredDataTest.cpp

  Log Message:
  -----------
  [lldb] Handle missing SBStructuredData copy assignment cases

Fix cases that can crash `SBStructuredData::operator=`.

This happened in a case where `rhs` had a null `SBStructuredDataImpl`.

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




More information about the All-commits mailing list