1 # REQUIRES: x86-registered-target
3 # RUN: llvm-mc --filetype=obj --triple=i386-w64-windows-gnu %s -o %t.o -g
5 # RUN: llvm-symbolizer --obj=%t.o 0 1 2 3 4 5 6 7 8 9 10 | FileCheck %s
14 # CHECK-NEXT: symbolize-demangling-mingw32.s:12
23 # CHECK-NEXT: {{^baz$}}
24 # CHECK-NEXT: symbolize-demangling-mingw32.s:22
27 # extern "C" void c() {} // __cdecl
35 # CHECK-NEXT: symbolize-demangling-mingw32.s:33
38 # extern "C" void __stdcall c1() {}
45 # CHECK-NEXT: {{^c1$}}
46 # CHECK-NEXT: symbolize-demangling-mingw32.s:44
49 # extern "C" void __fastcall c2(void) {}
56 # CHECK-NEXT: {{^c2$}}
57 # CHECK-NEXT: symbolize-demangling-mingw32.s:55
60 # extern "C" void __vectorcall c3(void) {}
67 # CHECK-NEXT: {{^c3$}}
68 # CHECK-NEXT: symbolize-demangling-mingw32.s:66
71 # void f() {} // __cdecl
78 # CHECK-NEXT: {{^f\(\)$}}
79 # CHECK-NEXT: symbolize-demangling-mingw32.s:77
82 # void __stdcall f1() {}
89 # CHECK-NEXT: {{^f1\(\)$}}
90 # CHECK-NEXT: symbolize-demangling-mingw32.s:88
93 # void __fastcall f2(void) {}
100 # CHECK-NEXT: {{^f2\(\)$}}
101 # CHECK-NEXT: symbolize-demangling-mingw32.s:99
104 # void __vectorcall f3(void) {}
111 # CHECK-NEXT: {{^f3\(\)$}}
112 # CHECK-NEXT: symbolize-demangling-mingw32.s:110
122 # CHECK-NEXT: {{^x::y$}}
123 # CHECK-NEXT: symbolize-demangling-mingw32.s:121