Skip to content

[clang][ItaniumMangle] clang should validate that the LLVM demangler can handle all the mangled names it produces. #111345

@VitaNuo

Description

@VitaNuo

clang sometimes produces C++ mangled names that do not demangle with LLVM demangler. It seems reasonable for clang to confirm that all mangled names demangle, i.e., come back without a _Z prefix (or ? prefix in MS mode) from llvm::demangle API.

This could be implemented in an asserts build. This should also be done behind a flag to prevent unintended breakages.

Metadata

Metadata

Assignees

Labels

ABIApplication Binary Interfaceclang:frontendLanguage frontend issues, e.g. anything involving "Sema"libc++abilibc++abi C++ Runtime Library. Not libc++.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions