Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / DebugInfo / symbolize-demangling-mingw32.s
blob1b445db92e6b007ddb3884e0f731f0b629ca469d
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
7 .def g
8 .scl 2
9 .type 32
10 .endef
12 nop
13 # CHECK: {{^g$}}
14 # CHECK-NEXT: symbolize-demangling-mingw32.s:12
15 # CHECK-EMPTY:
17 .def baz
18 .scl 2
19 .type 32
20 .endef
21 baz:
22 nop
23 # CHECK-NEXT: {{^baz$}}
24 # CHECK-NEXT: symbolize-demangling-mingw32.s:22
25 # CHECK-EMPTY:
27 # extern "C" void c() {} // __cdecl
28 .def _c
29 .scl 2
30 .type 32
31 .endef
32 _c:
33 nop
34 # CHECK-NEXT: {{^c$}}
35 # CHECK-NEXT: symbolize-demangling-mingw32.s:33
36 # CHECK-EMPTY:
38 # extern "C" void __stdcall c1() {}
39 .def _c1@0
40 .scl 2
41 .type 32
42 .endef
43 _c1@0:
44 nop
45 # CHECK-NEXT: {{^c1$}}
46 # CHECK-NEXT: symbolize-demangling-mingw32.s:44
47 # CHECK-EMPTY:
49 # extern "C" void __fastcall c2(void) {}
50 .def @c2@0
51 .scl 2
52 .type 32
53 .endef
54 @c2@0:
55 nop
56 # CHECK-NEXT: {{^c2$}}
57 # CHECK-NEXT: symbolize-demangling-mingw32.s:55
58 # CHECK-EMPTY:
60 # extern "C" void __vectorcall c3(void) {}
61 .def c3@@0
62 .scl 2
63 .type 32
64 .endef
65 c3@@0:
66 nop
67 # CHECK-NEXT: {{^c3$}}
68 # CHECK-NEXT: symbolize-demangling-mingw32.s:66
69 # CHECK-EMPTY:
71 # void f() {} // __cdecl
72 .def __Z1fv
73 .scl 2
74 .type 32
75 .endef
76 __Z1fv:
77 nop
78 # CHECK-NEXT: {{^f\(\)$}}
79 # CHECK-NEXT: symbolize-demangling-mingw32.s:77
80 # CHECK-EMPTY:
82 # void __stdcall f1() {}
83 .def __Z2f1v@0
84 .scl 2
85 .type 32
86 .endef
87 __Z2f1v@0:
88 nop
89 # CHECK-NEXT: {{^f1\(\)$}}
90 # CHECK-NEXT: symbolize-demangling-mingw32.s:88
91 # CHECK-EMPTY:
93 # void __fastcall f2(void) {}
94 .def @_Z2f2v@0
95 .scl 2
96 .type 32
97 .endef
98 @_Z2f2v@0:
99 nop
100 # CHECK-NEXT: {{^f2\(\)$}}
101 # CHECK-NEXT: symbolize-demangling-mingw32.s:99
102 # CHECK-EMPTY:
104 # void __vectorcall f3(void) {}
105 .def _Z2f3v@@0
106 .scl 2
107 .type 32
108 .endef
109 _Z2f3v@@0:
111 # CHECK-NEXT: {{^f3\(\)$}}
112 # CHECK-NEXT: symbolize-demangling-mingw32.s:110
113 # CHECK-EMPTY:
115 # Rust
116 .def __RNvC1x1y
117 .scl 2
118 .type 32
119 .endef
120 __RNvC1x1y:
122 # CHECK-NEXT: {{^x::y$}}
123 # CHECK-NEXT: symbolize-demangling-mingw32.s:121
124 # CHECK-EMPTY: