llvm-project/lldb/examples
Shafik Yaghmour ae1a699554 [LLDB][NFC] Remove parameter names from forward declarations from hand written expressions used in heap.py
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.

Ref: rdar://78265641
2021-06-08 14:27:02 -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 2021-06-08 14:27:02 -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 Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
python [lldb] Fix typos. NFC. 2021-05-31 06:48:57 +07: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