-
-
Notifications
You must be signed in to change notification settings - Fork 450
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
Bad symbol name in the error: undefined symbol
error message
#1159
Comments
|
That's funny! Well, one might probably rely on:
|
Yeah, it seems like reading the contents of |
VitalyAnkh
pushed a commit
to VitalyAnkh/mold
that referenced
this issue
Dec 23, 2023
Previously, we always tried to demangle a symbol name as a Rust symbol first and then attempted to demangle it as a C++ symbol. This resulted in an incorrect demangled result, as the Rust legacy mangling scheme is not distinguishable from C++. This patch fix the issue by adding the "is_rust_obj" flag to the ObjectFile. We try to demangle a symbol as a Rust one before as a C++ only if the flag is true. Fixes rui314#1159
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I noticed the following strange behavior:
Note the superfluous
v
character and compared to the usual message, the parenthesis are missing:The text was updated successfully, but these errors were encountered: