Skip to content

Conversation

AngheloAlf
Copy link
Contributor

@AngheloAlf AngheloAlf commented Sep 18, 2025

I tested it locally and works fine.

I'm unsure about a few things.

  • I only added this new demangler to mips and x86, should I add it to any other arch?
  • Should cpp_demangle be removed from mips? I don't know if there's any mips project that uses a new enough g++ compiler that uses the new mangling abi. Or maybe invert cwdemangle and cpp_demangle since it is more likely for cw to be used in mips than a new g++.

@tomsons26
Copy link
Contributor

I've seen old and new mangling formats in gcc built binaries for Windows and Mac so it's definitely not a old mips binary exclusive thing

@AngheloAlf
Copy link
Contributor Author

What arch is used for Mac? I assume Windows uses x86, but dunno what Mac uses. Maybe ppc?

@AngheloAlf AngheloAlf changed the title [MIPS] Use gnuv2_demangle for better demangling of old g++ compiled projects Use gnuv2_demangle for better demangling of old g++ compiled projects Sep 20, 2025
@benny-dreamly
Copy link

What arch is used for Mac? I assume Windows uses x86, but dunno what Mac uses. Maybe ppc?

Yes it is ppc/intel but most likely ppc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants