llvm-project/lldb/examples
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
..
customization Python 2/3 compat: StringIO 2019-03-25 15:23:34 +00:00
darwin/heap_find [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
functions [NFC] Remove ASCII lines from comments 2019-04-10 20:48:55 +00:00
interposing/darwin/fd_interposing [lldb] NFC remove DISALLOW_COPY_AND_ASSIGN 2020-06-02 13:23:53 -04:00
lookup [NFC] Remove ASCII lines from comments 2019-04-10 20:48:55 +00:00
plugins/commands
python [lldb/Plugins] Add memory region support in ScriptedProcess 2021-10-08 14:54:07 +02:00
scripting Python 2/3 compatibility: from __future__ import print_function 2019-03-21 18:27:40 +00:00
summaries Python 2/3 compat: str vs basestring 2019-03-25 15:21:29 +00:00
synthetic [lldb] Fix gnu_libstdcpp's update methods 2021-05-26 14:52:38 -07:00
test [lldb] Remove LLDB session dir and just store test traces in the respective test build directory 2020-12-04 11:43:10 +01:00