mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-19 03:25:54 -04:00

Summary: Bugzilla: https://bugs.llvm.org/show_bug.cgi?id=39405 ``` alexc@kitty:~/work/wiredtiger/build_posix$ cat breakpoint.json [{"Breakpoint" : {"BKPTOptions" : {"AutoContinue" : false,"ConditionText" : "","EnabledState" : true,"IgnoreCount" : 0,"OneShotState" : false},"BKPTResolver" : {"Options" : {"NameMask" : [56],"Offset" : 0,"SkipPrologue" : true,"SymbolNames" : ["__wt_btcur_search"]},"Type" : "SymbolName"},"Hardware" : false,"SearchFilter" : {"Options" : {},"Type" : "Unconstrained","Foo" : []}}}] ``` **Before** ``` (lldb) breakpoint read --file breakpoint.json error: Invalid JSON from input file: /home/alexc/work/wiredtiger/build_posix/breakpoint.json. ``` **After** ``` (lldb) breakpoint read --file breakpoint.json New breakpoints: Breakpoint 1: where = libwiredtiger-3.2.2.so`__wt_btcur_search + 15 at bt_cursor.c:522:5, address = 0x00007ffff576ab2f ``` Reviewers: xbolva00, davide, labath Reviewed By: davide, labath Subscribers: mgorny, jingham, labath, davide, JDevlieghere, lldb-commits Tags: #llvm, #lldb Differential Revision: https://reviews.llvm.org/D68179
41 lines
1.0 KiB
CMake
41 lines
1.0 KiB
CMake
# Note: debugserver is a Darwin-only implementation of a remote debugging
|
|
# server. It is not intended to be used on other platforms. The tests are here
|
|
# because using the LLDB Host API is convienent and allows testing of both parts
|
|
# of the debugserver communication path. If you are looking for a non-darwin
|
|
# remote debugging server, please use lldb-server.
|
|
|
|
include_directories(${LLDB_SOURCE_DIR}/tools/debugserver/source
|
|
${LLDB_SOURCE_DIR}/tools/debugserver/source/MacOSX)
|
|
|
|
add_lldb_unittest(debugserverTests
|
|
JSONTest.cpp
|
|
RNBSocketTest.cpp
|
|
debugserver_LogCallback.cpp
|
|
|
|
LINK_LIBS
|
|
lldbDebugserverCommon
|
|
lldbHost
|
|
LINK_COMPONENTS
|
|
Support
|
|
)
|
|
|
|
if(IOS)
|
|
set_property(TARGET debugserverTests APPEND PROPERTY COMPILE_DEFINITIONS
|
|
WITH_LOCKDOWN
|
|
WITH_FBS
|
|
WITH_BKS
|
|
)
|
|
|
|
add_lldb_unittest(debugserverNonUITests
|
|
JSONTest.cpp
|
|
RNBSocketTest.cpp
|
|
debugserver_LogCallback.cpp
|
|
|
|
LINK_LIBS
|
|
lldbDebugserverCommon_NonUI
|
|
lldbHost
|
|
LINK_COMPONENTS
|
|
Support
|
|
)
|
|
endif()
|