llvm-project/lldb
Raphael Isemann cda1450f1c [lldb][NFC] Add some tests for function-local classes and document some bugs
This feature doesn't seem to have any dedicated test. Instead some random tests
(e.g. the bitfield tests) are declaring function-local classes for some reason.
This adds a dedicated test so we can clean up those other tests.

Also add FIXME's for some basic stuff that doesn't work. The first FIXME is a
good beginner bug which just requires prepending the function name (in case we
decide to fix it instead of documenting this behaviour). The second FIXME is
caused by LLDB searching for definitions by name (which also seems to miss the
function name so there is a conflict with the outer type).

Some more things that should be tested (and might not work):
* Local classes with member functions with local classes.
* Classes in different functions with same name.
* Classes with the same name in different TUs with internal linkage functions of
  the same name.
* Empty classes are parsed by the DWARF parser in a fast path, so that requires
  dedicated tests.
* Repeat some of the tested logic for C.
2021-09-09 14:12:02 +02:00
..
bindings [lldb/Plugins] Introduce Scripted Interface Factory 2021-09-03 19:37:25 +02:00
cmake Revert "[lldb/lua] Force Lua version to be 5.3" 2021-09-03 17:31:25 +08:00
docs [LLDB][Docs] Indicate `PS1` variable by $ 2021-09-04 20:57:59 +05:30
examples [lldb] Update crashlog.py to accept multiple results from mdfind 2021-09-07 08:36:58 -07:00
include/lldb [lldb] Delete IRExecutionUnit::SearchSpec 2021-09-08 11:27:10 -07:00
packages/Python [lldb] [llgs server] Support creating core dumps on NetBSD 2021-09-06 12:16:14 +02:00
resources [lldb] Remove stale LLDB-Info.plist 2021-01-08 10:12:16 -08:00
scripts Prefer /usr/bin/env xxx over /usr/bin/xxx where xxx = perl, python, awk 2021-02-25 11:32:27 +01:00
source AArch64 SVE restore SVE registers after expression 2021-09-09 16:06:48 +05:00
test [lldb][NFC] Add some tests for function-local classes and document some bugs 2021-09-09 14:12:02 +02:00
third_party/Python/module [LLDB] Change pexpect timeout to 30 to 60 2021-08-02 06:34:11 +05:00
tools Revert "[lldb server] Tidy up LLDB server return codes and associated tests" 2021-09-02 15:27:39 +02:00
unittests [lldb/Plugins] Introduce Scripted Interface Factory 2021-09-03 19:37:25 +02:00
utils [lldb] Match test dependencies name to other LLVM projects. 2021-05-21 00:10:27 -07:00
.clang-format
.clang-tidy [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
.gitignore
CMakeLists.txt [lldb] skip host build for lldb_tblgen with LLDB_TABLEGEN_EXE set 2021-08-13 14:18:03 -07:00
CODE_OWNERS.txt
LICENSE.TXT
use_lldb_suite_root.py