llvm-project/llvm/test/Demangle
Lasse Folger 134e1817f6 [lldb] change name demangling to be consistent between windows and linx
When printing names in lldb on windows these names contain the full type information while on linux only the name is contained.

This change introduces a flag in the Microsoft demangler to control if the type information should be included.
With the flag enabled demangled name contains only the qualified name, e.g:
without flag -> with flag
int (*array2d)[10] -> array2d
int (*abc::array2d)[10] -> abc::array2d
const int *x -> x

For globals there is a second inconsistency which is not yet addressed by this change. On linux globals (in global namespace) are prefixed with :: while on windows they are not.

Reviewed By: teemperor, rnk

Differential Revision: https://reviews.llvm.org/D111715
2021-10-19 12:04:37 +02:00
..
invalid-manglings.test
ms-arg-qualifiers.test
ms-back-references.test
ms-basic.test
ms-conversion-operators.test
ms-cxx11.test
ms-cxx14.test
ms-cxx17-noexcept.test
ms-cxx20.test
ms-mangle.test Demangle: correct swift_async demangling for Microsoft scheme 2021-07-14 11:43:44 -07:00
ms-md5.test
ms-nested-scopes.test
ms-operators.test
ms-options.test [lldb] change name demangling to be consistent between windows and linx 2021-10-19 12:04:37 +02:00
ms-return-qualifiers.test
ms-string-literals.test
ms-template-callback.test
ms-templates-memptrs-2.test
ms-templates-memptrs.test
ms-templates.test
ms-thunks.test
ms-windows.test
rust.test [Demangle][Rust] Parse non-ASCII identifiers 2021-10-01 22:08:32 +02:00
warn-trailing.test