llvm-project/lldb
Shafik Yaghmour 320f65ee65 [LLDB][NFC] Remove parameter names from forward declarations from hand written expressions used in heap.py part 2
heap.py has a lot of large hand written expressions and each name in the
expression will be looked up by clang during expression parsing. For
function parameters this will be in Sema::ActOnParamDeclarator(...) in order to
catch redeclarations of parameters. The names are not needed and we have seen
some rare cases where since we don't have symbols we end up in
SymbolContext::FindBestGlobalDataSymbol(...) which may conflict with other global
symbols.

There may be a way to make this lookup smarter to avoid these cases but it is
not clear how well tested this path is and how much work it would be to fix it.
So we will go with this fix while we investigate more.

This is a second try at getting all the cases we care about.

Ref: rdar://78265641
2021-10-19 16:52:36 -07:00
..
bindings [NFC] fix a typo 2021-10-15 14:51:49 +08:00
cmake [lldb/lua] Force Lua version to be 5.3 2021-10-12 21:34:15 +08:00
docs [lldb] Reduce code duplication around inferior building 2021-10-19 12:09:41 +02:00
examples [LLDB][NFC] Remove parameter names from forward declarations from hand written expressions used in heap.py part 2 2021-10-19 16:52:36 -07:00
include/lldb [lldb] [Host] Make Terminal methods return llvm::Error 2021-10-19 13:31:03 +02:00
packages/Python [lldb] Reduce code duplication around inferior building 2021-10-19 12:09:41 +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 [lldb] improve the help strings for gdb-remote and kdp-remote 2021-10-19 13:08:21 -07:00
test [lldb/test] Update test/API/functionalities/load_lazy to macOS 12 2021-10-19 13:25:14 -07:00
third_party/Python/module [LLDB] Change pexpect timeout to 30 to 60 2021-08-02 06:34:11 +05:00
tools [debugserver] Fix BUILDING_FOR_ARM64_OSX 2021-10-19 09:55:53 -07:00
unittests [lldb] [Host] Make Terminal methods return llvm::Error 2021-10-19 13:31:03 +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/lua] Supplement Lua bindings for lldb module 2021-10-12 22:10:21 +08:00
CODE_OWNERS.txt
LICENSE.TXT
use_lldb_suite_root.py