1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/test/Demangle/ms-windows.test
Zachary Turner 0bef0a2efc Add a Microsoft Demangler.
This adds initial support for a demangling library (LLVMDemangle)
and tool (llvm-undname) for demangling Microsoft names.  This
doesn't cover 100% of cases and there are some known limitations
which I intend to address in followup patches, at least until such
time that we have (near) 100% test coverage matching up with all
of the test cases in clang/test/CodeGenCXX/mangle-ms-*.

Differential Revision: https://reviews.llvm.org/D49552

llvm-svn: 337584
2018-07-20 17:27:48 +00:00

18 lines
396 B
Plaintext

; See clang/test/CodeGenCXX/mangle-windows.cpp
; These tests are based on clang/test/CodeGenCXX/mangle-ms.cpp
; RUN: llvm-undname < %s | FileCheck %s
; CHECK-NOT: Invalid mangled name
?bar@Foo@@SGXXZ
; CHECK: static void __stdcall Foo::bar(void)
?bar@Foo@@QAGXXZ
; CHECK: void __stdcall Foo::bar(void)
?f2@@YIXXZ
; CHECK: void __fastcall f2(void)
?f1@@YGXXZ
; CHECK: void __stdcall f1(void)