llvm-project
4f63a60e - [AArch64] Fix Arm64EC mangling with C++ symbols using MD5 mangling. (#160963)

Commit
208 days ago
[AArch64] Fix Arm64EC mangling with C++ symbols using MD5 mangling. (#160963) In addition to the usual mangling formats, MSVC uses a special mangling format for very long symbols: instead of actually emitting the mangled name, it hashes the name, and uses the hash as the symbol. This doesn't match any of the usual forms, so it needs special handling. Fixes a crash/link error when using such symbols. (Unrelated to this patch, there's something weird about the way MSVC handles these symbols in Arm64EC mode: it looks like MSVC is computing a different hash compared to x64 MSVC, and clang. I think this is bug. Noting this here in case someone wants to compare MSVC vs. clang output.)
Author
Parents
Loading