llvm-project/lldb/test/API/python_api
Med Ismail Bennani 72e25978f9 [lldb/API] Add SetDataWithOwnership method to SBData
This patch introduces a new method to SBData: SetDataWithOwnership.

Instead of referencing the pointer to the data, this method copies the
data buffer into lldb's heap memory.

This can prevent having the underlying DataExtractor object point to
freed/garbage-collected memory.

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

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
2021-12-13 11:05:06 -08:00
..
breakpoint [lldb/tests] Removed add_test_categories decorator for python API tests, NFC 2021-02-08 15:10:48 +03:00
class_members [lldb] Replace unneeded use of Foundation with ObjectiveC in tests (NFC) 2021-04-04 20:04:41 -07:00
debugger [lldb/tests] Removed add_test_categories decorator for python API tests, NFC 2021-02-08 15:10:48 +03:00
default-constructor Fixed use of -o and -k in LLDB under Windows when statically compiled with vcruntime. 2021-11-24 16:17:08 +00:00
disassemble-raw-data [lldb] Remove support for replaying the test suite from a reproducer 2021-09-30 10:47:19 -07:00
event [lldb/tests] Removed add_test_categories decorator for python API tests, NFC 2021-02-08 15:10:48 +03:00
exprpath_synthetic [lldb] [test] Use skipUnlessDarwin for tests specific to Darwin 2020-11-07 19:26:42 +01:00
file_handle [lldb] Fix TestFileHandle.py 2021-11-25 08:56:45 +01:00
findvalue_duplist [lldb/tests] Removed add_test_categories decorator for python API tests, NFC 2021-02-08 15:10:48 +03:00
formatters [lldb/tests] Removed add_test_categories decorator for python API tests, NFC 2021-02-08 15:10:48 +03:00
frame [lldb/tests] Removed add_test_categories decorator for python API tests, NFC 2021-02-08 15:10:48 +03:00
function_symbol [lldb/tests] Removed add_test_categories decorator for python API tests, NFC 2021-02-08 15:10:48 +03:00
get-value-32bit-int
hello_world [lldb] Remove support for replaying the test suite from a reproducer 2021-09-30 10:47:19 -07:00
interpreter [lldb] Remove support for replaying the test suite from a reproducer 2021-09-30 10:47:19 -07:00
lldbutil [lldb] Skip two lldb tests on Windows because they are flaky 2021-12-02 09:53:28 -08:00
module_section [lldb/tests] Removed add_test_categories decorator for python API tests, NFC 2021-02-08 15:10:48 +03:00
name_lookup [lldb/tests] Removed add_test_categories decorator for python API tests, NFC 2021-02-08 15:10:48 +03:00
objc_type [lldb] Replace unneeded use of Foundation with ObjectiveC in tests (NFC) 2021-04-04 20:04:41 -07:00
process [lldb] Remove support for replaying the test suite from a reproducer 2021-09-30 10:47:19 -07:00
sbdata [lldb/API] Add SetDataWithOwnership method to SBData 2021-12-13 11:05:06 -08:00
sbenvironment [lldb/tests] Removed add_test_categories decorator for python API tests, NFC 2021-02-08 15:10:48 +03:00
sberror Fix SBError::SetErrorToGenericError 2020-10-26 15:44:38 +01:00
sblaunchinfo
sbplatform [lldb/tests] Removed add_test_categories decorator for python API tests, NFC 2021-02-08 15:10:48 +03:00
sbstructureddata [lldb/tests] Removed add_test_categories decorator for python API tests, NFC 2021-02-08 15:10:48 +03:00
sbtype_typeclass [lldb] [test] Skip ObjC-based tests via 'objc' category 2020-11-10 12:02:38 +01:00
sbvalue_const_addrof
sbvalue_persist [lldb/tests] Removed add_test_categories decorator for python API tests, NFC 2021-02-08 15:10:48 +03:00
section [lldb/tests] Removed add_test_categories decorator for python API tests, NFC 2021-02-08 15:10:48 +03:00
signals [lldb/tests] Removed add_test_categories decorator for python API tests, NFC 2021-02-08 15:10:48 +03:00
symbol-context [lldb] Remove support for replaying the test suite from a reproducer 2021-09-30 10:47:19 -07:00
target [NFC] fix a typo 2021-10-15 14:51:49 +08:00
thread [lldb/tests] Removed add_test_categories decorator for python API tests, NFC 2021-02-08 15:10:48 +03:00
type [lldb/tests] Removed add_test_categories decorator for python API tests, NFC 2021-02-08 15:10:48 +03:00
value [lldb] Remove support for replaying the test suite from a reproducer 2021-09-30 10:47:19 -07:00
value_var_update [lldb/tests] Removed add_test_categories decorator for python API tests, NFC 2021-02-08 15:10:48 +03:00
watchpoint [lldb] Remove support for replaying the test suite from a reproducer 2021-09-30 10:47:19 -07:00
categories [lldb] [test] Rename '.categories' to 'categories' 2020-11-10 12:02:38 +01:00