GP-3885: Fixing follow-on issue discovered when testing a Swift binary

This commit is contained in:
Ryan Kurtz 2023-10-20 07:02:50 -04:00
parent 043aa6cd15
commit 4c8c6aedbd

View file

@ -367,7 +367,7 @@ public class GnuDemanglerParser {
// Note: this really is a 'special handler' check that used to be handled above. However,
// some demangled operator strings begin with this text. If we do this check above,
// then we will not correctly handle those operators.
if (mangledSource.startsWith("_ZZ")) {
if (mangledSource.startsWith("_ZZ") || mangledSource.startsWith("__ZZ")) {
return new ItemInNamespaceHandler(demangled);
}