-
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
Panics demangling some symbols from a Linux build of Firefox #272
Comments
I've fed the symbols into
|
These fail to demangle here (with "error: an error occurred when formatting an argument") but none of them panic. What is the panic stack? |
These seem to trigger a loop when printing the symbol that eventually hits the recursion limit. |
I fixed one issue that's definitely a cpp_demangle bug, but after that we still don't agree with LLVM or libiberty (which also don't agree with each other) cpp_demangle
lllvm-cxxfilt 16 (llvm/llvm-project@c0d954a)
libiberty (binutils 2.38.50)
It would really help to know where these symbols come from in the Mozilla source to determine which (if any) are correct. |
I believe that's coming from here. But it's just a guess given the types that show up in the demangled versions. |
After looking at this with fresh eyes I think the symbol is incorrectly mangled. The above comes from demangling
|
I've used the current master branch of
cpp_demangle
on the symbols produced by a local Firefox build on my machine and found 9 that causecpp_demangle
to panic. The list of affected symbols is available here. These were generated by clang 14.0.5.The text was updated successfully, but these errors were encountered: