mirror of
https://github.com/rui314/mold.git
synced 2024-09-11 13:06:59 +03:00
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 https://github.com/rui314/mold/issues/1159 |
||
---|---|---|
.. | ||
archive-file.h | ||
cmdline.h | ||
common.h | ||
compress.cc | ||
config.h.in | ||
demangle.cc | ||
filepath.cc | ||
filetype.h | ||
glob.cc | ||
hyperloglog.cc | ||
integers.h | ||
main.cc | ||
multi-glob.cc | ||
output-file-unix.h | ||
output-file-win32.h | ||
output-file.h | ||
perf.cc | ||
tar.cc | ||
update-git-hash.cmake | ||
uuid.cc |