[all-commits] [llvm/llvm-project] afaeb6: Fix crash in SBStructuredData::GetDescription() wh...

jimingham via All-commits all-commits at lists.llvm.org
Wed Sep 30 11:49:17 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: afaeb6af79a4278249ef9114755e5685d0b35984
      https://github.com/llvm/llvm-project/commit/afaeb6af79a4278249ef9114755e5685d0b35984
  Author: Jim Ingham <jingham at apple.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M lldb/include/lldb/Core/StructuredDataImpl.h
    M lldb/test/API/python_api/sbstructureddata/TestStructuredDataAPI.py

  Log Message:
  -----------
  Fix crash in SBStructuredData::GetDescription() when there's no StructuredDataPlugin.

Also, use the StructuredData::Dump method to print the StructuredData if there
is no plugin, rather than just returning an error.

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




More information about the All-commits mailing list