llvm-project/lldb/unittests/API/CMakeLists.txt
Dave Lee c5cf4b8f11 [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
2021-05-05 15:12:03 -07:00

12 lines
220 B
CMake

add_lldb_unittest(APITests
SBCommandInterpreterTest.cpp
SBStructuredDataTest.cpp
LINK_LIBS
liblldb
)
if(Python3_RPATH)
set_property(TARGET APITests APPEND PROPERTY BUILD_RPATH "${Python3_RPATH}")
endif()