teak-llvm/lldb/packages/Python/lldbsuite/test/functionalities
Pavel Labath 0157a74bec [lldb] Fix an asan error from 27df2d9f55
This error is caused by a combination of a couple of factors:
- the test accidentally creating a list with a single (empty) FileSpec
  instead of an empty list
- lldb overzeleously converting empty strings into nullptrs
- asan overzeleously validating symlink(2) arguments (the real symlink
  call would just fail with EFAULT)

I fix this by using FileSpec::GetPath instead of GetCString. This avoids
the nullptr and also avoids inserting the path into the global string
pool.

I also enhance the test case to test both empty paths and empty lists.
2020-01-22 10:14:47 +01:00
..
abbreviation [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
alias
archives [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
asan [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
avoids-fd-leak [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
backticks [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
breakpoint [lldb] Fix an asan error from 27df2d9f55 2020-01-22 10:14:47 +01:00
completion [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
conditional_break [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
darwin_log [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
data-formatter [lldb/DataFormatters] Fix the $$deference$$ synthetic child 2020-01-21 13:35:55 -08:00
dead-strip tests: XFAIL/UNSUPPORTED tests on Windows 2020-01-01 14:22:49 -08:00
deleted-executable [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
dynamic_value_child_count [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
exec [lldb][tests] Posix function strdup requires macro _POSIX_C_SOURCE 2019-12-26 18:49:34 +03:00
fat_archives [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
float-display [lldb] Update hardcoded Makefile.rules inclusions. 2019-12-05 15:50:03 -08:00
gdb_remote_client When reading Aux file in chunks, read consecutive byte ranges 2020-01-09 16:05:38 -08:00
history [lldb][NFC] Remove all setUp overrides that only call the parent implementation 2019-12-13 12:34:49 +01:00
inferior-assert [lldb] Remove Xfail decorators from steadily passing tests 2019-12-09 19:08:59 +05:00
inferior-changed [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
inferior-crashing [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
inline-stepping [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
jitloader_gdb [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
lazy-loading [lldb] Add a test for how we lazily create Clang AST nodes 2019-12-09 09:59:40 +01:00
load_unload Mark some tests as xfail on AArch64 Linux 2019-12-03 10:57:42 +01:00
load_using_paths [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
longjmp [lldb][NFC] Remove all setUp overrides that only call the parent implementation 2019-12-13 12:34:49 +01:00
memory [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
memory-region [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
mtc/simple Change the mtc Makefile to check $SDKROOT value instead 2019-12-10 18:48:40 -08:00
multidebugger_commands [lldb][NFC] Remove unused imports in python tests 2019-08-02 08:06:22 +00:00
multiword-commands [lldb] Print an error message for an empty subcommand 2019-09-27 08:49:41 +00:00
non-overlapping-index-variable-i [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
object-file [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
param_entry_vals/basic_entry_values_x86_64 [lldb] Update hardcoded Makefile.rules inclusions. 2019-12-05 15:50:03 -08:00
paths [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
plugins [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
postmortem [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
pre_run_dylibs [lldb][NFC] Remove all setUp overrides that only call the parent implementation 2019-12-13 12:34:49 +01:00
process_group [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
process_save_core [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
ptr_refs [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
recursion [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
rerun [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
return-value [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
set-data [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
show_location Fixup 6d18e53: xfail TestShowLocationDwarf5.py properly 2019-12-03 11:53:28 +01:00
signal [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
source-map
stats_api [lldb][NFC] Remove all setUp overrides that only call the parent implementation 2019-12-13 12:34:49 +01:00
step_scripted Pass an SBStructuredData to scripted ThreadPlans on use. 2019-10-03 22:50:18 +00:00
step-avoids-no-debug [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
tail_call_frames lldb: xfail TestCrossDSOTailCalls.py and TestCrossObjectTailCalls.py on arm/aarch64 2020-01-16 14:48:51 -08:00
target_var [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
target-new-solib-notifications [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
testid [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
thread [lldb][NFC] Remove all setUp overrides that only call the parent implementation 2019-12-13 12:34:49 +01:00
tsan [lldb][NFC] Remove all setUp overrides that only call the parent implementation 2019-12-13 12:34:49 +01:00
tty [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
type_completion [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
type_lookup [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
ubsan [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
unwind [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
value_md5_crash [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
var_path [lldb][NFC] Remove all setUp overrides that only call the parent implementation 2019-12-13 12:34:49 +01:00
wrong_commands [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00