-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
C++20 templated lambdas not yet supported #208
Comments
The BNF is generally taken from libiberty. The actual cxx abi spec on Github doesn't seem to be updated in a timely fashion. If you're trying to figure out why a symbol doesn't parse, it helps to build with the
If you look at this log you'll see that we're recognizing "Ul" as a lambda signature, but we eventually get hung up on the "Ty" that follows it. binutils c++filter doesn't seem to understand this construct either, so I'd look at llvm's demangler to see what "Ty" is supposed to be to start with. |
I cam across the following identifiers:
They correctly demangle using macos
c++filt
as:So both have a
…'lambda'<typename $T…
in them, which is encoded as…UlTY…
.I would like to work on this, still trying to figure out how all this fits together.
Since all the productions have bnf-like comments, is there a reference for all this somewhere? I didn’t really find anything.
From reading the code, I guess this has to go somewhere in the
ClosureTypeName
parser?cpp_demangle/src/ast.rs
Lines 6909 to 6936 in 1e51bce
The text was updated successfully, but these errors were encountered: