mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
0bef0a2efc
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
18 lines
396 B
Plaintext
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)
|