Home
last modified time | relevance | path

Searched hist:a78899d40a899cabdfa5c7da9558f15e53b8bc22 (Results 1 – 2 of 2) sorted by relevance

/haiku/src/kits/debugger/dwarf/
H A DDwarfUtils.ha78899d40a899cabdfa5c7da9558f15e53b8bc22 Fri Mar 26 22:02:52 UTC 2021 Kacper Kasper <kacperkasper@gmail.com> Debugger: fix infinite recursion when resolving lambdas

* Should fix #14346. Uploaded executable there doesn't work anymore,
but this patch is prepared for case in #16040, and fixes
#16680 too.
* The issue is that if lambda parameters use an alias, this alias
has that lambda as a parent. Specifically the compiler generates
operator() subprogram, Debugger tries to resolve types for its
parameters, but at the same time it is a parent namespace for
those types.
* Call chain: operator()( -> type 1 -> namespace: operator()( ->
type 1 -> namespace: operator()( -> ...

Change-Id: I7aad150a8d9de4f0c01ae0c1db5e486416b72112
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3824
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
H A DDwarfUtils.cppa78899d40a899cabdfa5c7da9558f15e53b8bc22 Fri Mar 26 22:02:52 UTC 2021 Kacper Kasper <kacperkasper@gmail.com> Debugger: fix infinite recursion when resolving lambdas

* Should fix #14346. Uploaded executable there doesn't work anymore,
but this patch is prepared for case in #16040, and fixes
#16680 too.
* The issue is that if lambda parameters use an alias, this alias
has that lambda as a parent. Specifically the compiler generates
operator() subprogram, Debugger tries to resolve types for its
parameters, but at the same time it is a parent namespace for
those types.
* Call chain: operator()( -> type 1 -> namespace: operator()( ->
type 1 -> namespace: operator()( -> ...

Change-Id: I7aad150a8d9de4f0c01ae0c1db5e486416b72112
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3824
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>