aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
diff options
context:
space:
mode:
authorcor3ntin <corentinjabot@gmail.com>2024-09-05 20:45:31 +0200
committerGitHub <noreply@github.com>2024-09-05 20:45:31 +0200
commitd219c63b16851ba264b6495e3f63016d1c8b2aac (patch)
tree8807448e92791e7bfec7cf3c5da4ffde3a5c7a1b /lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
parent92e75c095bb380039f32218534f78c4580bf76e4 (diff)
downloadllvm-d219c63b16851ba264b6495e3f63016d1c8b2aac.zip
llvm-d219c63b16851ba264b6495e3f63016d1c8b2aac.tar.gz
llvm-d219c63b16851ba264b6495e3f63016d1c8b2aac.tar.bz2
[Clang] Fix crash with `source_location` in lambda declarators. (#107411)
Parsing lambdas require pushing a declaration context for the lambda, so that parameters can be attached to it, before its trailing type is parsed. DAt that point, partially-parsed lambda don't have a name that can be computed for then. This would cause source_location::current() to crash when use in the decltype of a lambda(). We work around this by producing a source_location for an enclosing scope in that scenario. Fixes #67134
Diffstat (limited to 'lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp')
0 files changed, 0 insertions, 0 deletions