struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / sdbinutils / libiberty / testsuite / demangle-expected
blobde54ad73cc8ee3d36f3b52b3bbdeeaf77d694852
1 # This file holds test cases for the demangler.
2 # Each test case looks like this:
3 #  options
4 #  input to be demangled
5 #  expected output
7 #  Supported options:
8 #    --format=<name>     Sets the demangling style.
9 #    --no-params         There are two lines of expected output; the first
10 #                        is with DMGL_PARAMS, the second is without it.
11 #    --is-v3-ctor        Calls is_gnu_v3_mangled_ctor on input; expected
12 #                        output is an integer representing ctor_kind.
13 #    --is-v3-dtor        Likewise, but for dtors.
14 #    --ret-postfix       Passes the DMGL_RET_POSTFIX option
16 #  For compatibility, just in case it matters, the options line may be
17 #  empty, to mean --format=auto.  If it doesn't start with --, then it
18 #  may contain only a format name.
20 # A line starting with `#' is ignored.
21 # However, blank lines in this file are NOT ignored.
24 # Tests integer overflow problem PR70492
26 __vt_90000000000cafebabe
27 __vt_90000000000cafebabe
29 # Tests write access violation PR70498
31 _Z80800000000000000000000
32 _Z80800000000000000000000
34 # Tests write access violation PR70926
36 0__Ot2m02R5T0000500000
37 0__Ot2m02R5T0000500000
40 0__GT50000000000_
41 0__GT50000000000_
44 __t2m05B500000000000000000_
45 __t2m05B500000000000000000_
47 ## Tests stack overflow PR71696
49 #__10%0__S4_0T0T0
50 #%0<>::%0(%0<>)
51 # Could crash
55 # Could crash
57 _vt
58 _vt
59 # Could crash
61 _$_1Acitz
62 _$_1Acitz
63 # Could crash
65 _$_H1R
66 _$_H1R
67 # Could crash
69 _Q8ccQ4M2e.
70 _Q8ccQ4M2e.
71 # Could crash
73 _ZmmAtl
74 _ZmmAtl
75 # Could crash
76 --no-params
77 _ZZaSFvOEES_
78 _ZZaSFvOEES_
79 _ZZaSFvOEES_
80 # Could crash
82 _ZZeqFvOEES_z
83 _ZZeqFvOEES_z
85 # demangler/80513 Test for bogus characters after __thunk_
87 __thunk_16a_$_1x
88 __thunk_16a_$_1x
90 # demangler/80513 Test for overflow in consume_count
92 __thunk_4294967297__$_1x
93 __thunk_4294967297__$_1x
95 --format=gnu-v3 --no-params
96 _Z3fo5n
97 fo5(__int128)
98 fo5
100 --format=gnu-v3 --no-params
101 _Z3fo5o
102 fo5(unsigned __int128)
105 --format=java
106 _ZN4java3awt10ScrollPane7addImplEPNS0_9ComponentEPNS_4lang6ObjectEi
107 java.awt.ScrollPane.addImpl(java.awt.Component, java.lang.Object, int)
109 --format=java
110 _ZN4java3awt4geom15AffineTransform9getMatrixEP6JArrayIdE
111 java.awt.geom.AffineTransform.getMatrix(double[])
113 --format=java
114 _ZN23Mangle$Inner$InnerInner3fooEP6JArrayIPS0_IiEEdPS0_IPS0_IPS0_IPS0_IPN4java4lang6StringEEEEEPS0_IPS0_IPN6MangleEEE
115 Mangle$Inner$InnerInner.foo(int[][], double, java.lang.String[][][][], Mangle[][])
117 --format=java
118 _ZN6JArray1tEP6JArrayIPS_E
119 JArray.t(JArray[])
121 --format=java
122 _ZN4Prim1iEibcdfwPN4java4lang6StringEsx
123 Prim.i(int, boolean, byte, double, float, char, java.lang.String, short, long)
125 --format=java
126 _ZN4java4util14Map__U24_Entry11class__U24_E
127 java.util.Map$Entry.class$
129 --format=java
130 _ZN3org7eclipse3cdt5debug8internal4core5model9CVariable6sizeof$Ev
131 org.eclipse.cdt.debug.internal.core.model.CVariable.sizeof()
133 --format=auto --no-params
134 _Utf58_0_1__1_2147483647__2147483648
135 _Utf58_0_1__1_2147483647__2147483648
136 _Utf58_0_1__1_2147483647__2147483648
138 --format=gnu-v3 --no-params
139 St9bad_alloc
140 std::bad_alloc
141 std::bad_alloc
143 --format=gnu-v3 --no-params
144 _ZN1f1fE
145 f::f
146 f::f
148 --format=gnu-v3 --no-params
149 _Z1fv
153 --format=gnu-v3 --no-params
154 _Z1fi
155 f(int)
158 --format=gnu-v3 --no-params
159 _Z3foo3bar
160 foo(bar)
163 --format=gnu-v3 --no-params
164 _Zrm1XS_
165 operator%(X, X)
166 operator%
168 --format=gnu-v3 --no-params
169 _ZplR1XS0_
170 operator+(X&, X&)
171 operator+
173 --format=gnu-v3 --no-params
174 _ZlsRK1XS1_
175 operator<<(X const&, X const&)
176 operator<<
178 --format=gnu-v3 --no-params
179 _ZN3FooIA4_iE3barE
180 Foo<int [4]>::bar
181 Foo<int [4]>::bar
183 --format=gnu-v3 --no-params
184 _Z1fIiEvi
185 void f<int>(int)
186 f<int>
188 --format=gnu-v3 --no-params
189 _Z5firstI3DuoEvS0_
190 void first<Duo>(Duo)
191 first<Duo>
193 --format=gnu-v3 --no-params
194 _Z5firstI3DuoEvT_
195 void first<Duo>(Duo)
196 first<Duo>
198 --format=gnu-v3 --no-params
199 _Z3fooIiFvdEiEvv
200 void foo<int, void (double), int>()
201 foo<int, void (double), int>
203 --format=gnu-v3 --no-params
204 _Z1fIFvvEEvv
205 void f<void ()>()
206 f<void ()>
208 --format=gnu-v3 --no-params
209 _ZN1N1fE
210 N::f
211 N::f
213 --format=gnu-v3 --no-params
214 _ZN6System5Sound4beepEv
215 System::Sound::beep()
216 System::Sound::beep
218 --format=gnu-v3 --no-params
219 _ZN5Arena5levelE
220 Arena::level
221 Arena::level
223 --format=gnu-v3 --no-params
224 _ZN5StackIiiE5levelE
225 Stack<int, int>::level
226 Stack<int, int>::level
228 --format=gnu-v3 --no-params
229 _Z1fI1XEvPVN1AIT_E1TE
230 void f<X>(A<X>::T volatile*)
231 f<X>
233 --format=gnu-v3 --no-params
234 _ZngILi42EEvN1AIXplT_Li2EEE1TE
235 void operator-<42>(A<(42)+(2)>::T)
236 operator-<42>
238 --format=gnu-v3 --no-params
239 _Z4makeI7FactoryiET_IT0_Ev
240 Factory<int> make<Factory, int>()
241 make<Factory, int>
243 --format=gnu-v3 --no-params
244 _Z4makeI7FactoryiET_IT0_Ev
245 Factory<int> make<Factory, int>()
246 make<Factory, int>
248 --format=gnu-v3 --no-params
249 _Z3foo5Hello5WorldS0_S_
250 foo(Hello, World, World, Hello)
253 --format=gnu-v3 --no-params
254 _Z3fooPM2ABi
255 foo(int AB::**)
258 --format=gnu-v3 --no-params
259 _ZlsRSoRKSs
260 operator<<(std::ostream&, std::string const&)
261 operator<<
263 --format=gnu-v3 --no-params
264 _ZTI7a_class
265 typeinfo for a_class
266 typeinfo for a_class
268 --format=gnu-v3 --no-params
269 U4_farrVKPi
270 int* const volatile restrict _far
271 int* const volatile restrict _far
273 --format=gnu-v3 --no-params
274 _Z3fooILi2EEvRAplT_Li1E_i
275 void foo<2>(int (&) [(2)+(1)])
276 foo<2>
278 --format=gnu-v3 --no-params
279 _Z3fooILi2EEvOAplT_Li1E_i
280 void foo<2>(int (&&) [(2)+(1)])
281 foo<2>
283 --format=gnu-v3 --no-params
284 _Z1fM1AKFvvE
285 f(void (A::*)() const)
288 --format=gnu-v3 --no-params
289 _Z3fooc
290 foo(char)
293 --format=gnu-v3 --no-params
294 _Z2f0u8char16_t
295 f0(char16_t)
298 --format=gnu-v3 --no-params
299 _Z2f0Pu8char16_t
300 f0(char16_t*)
303 --format=gnu-v3 --no-params
304 _Z2f0u8char32_t
305 f0(char32_t)
308 --format=gnu-v3 --no-params
309 _Z2f0Pu8char32_t
310 f0(char32_t*)
313 --format=gnu-v3 --no-params
314 2CBIL_Z3foocEE
315 CB<foo(char)>
316 CB<foo(char)>
318 --format=gnu-v3 --no-params
319 2CBIL_Z7IsEmptyEE
320 CB<IsEmpty>
321 CB<IsEmpty>
323 --format=gnu-v3 --no-params
324 _ZZN1N1fEiE1p
325 N::f(int)::p
326 N::f(int)::p
328 --format=gnu-v3 --no-params
329 _ZZN1N1fEiEs
330 N::f(int)::string literal
331 N::f(int)::string literal
333 --format=gnu-v3 --no-params
334 _Z1fPFvvEM1SFvvE
335 f(void (*)(), void (S::*)())
338 --format=gnu-v3 --no-params
339 _ZN1N1TIiiE2mfES0_IddE
340 N::T<int, int>::mf(N::T<double, double>)
341 N::T<int, int>::mf
343 --format=gnu-v3 --no-params
344 _ZSt5state
345 std::state
346 std::state
348 --format=gnu-v3 --no-params
349 _ZNSt3_In4wardE
350 std::_In::ward
351 std::_In::ward
353 --format=gnu-v3 --no-params
354 _Z1fKPFiiE
355 f(int (* const)(int))
358 --format=gnu-v3 --no-params
359 _Z1fAszL_ZZNK1N1A1fEvE3foo_0E_i
360 f(int [sizeof (N::A::f() const::foo)])
363 --format=gnu-v3 --no-params
364 _Z1fA37_iPS_
365 f(int [37], int (*) [37])
368 --format=gnu-v3 --no-params
369 _Z1fM1AFivEPS0_
370 f(int (A::*)(), int (*)())
373 --format=gnu-v3 --no-params
374 _Z1fPFPA1_ivE
375 f(int (*(*)()) [1])
378 --format=gnu-v3 --no-params
379 _Z1fPKM1AFivE
380 f(int (A::* const*)())
383 --format=gnu-v3 --no-params
384 _Z1jM1AFivEPS1_
385 j(int (A::*)(), int (A::**)())
388 --format=gnu-v3 --no-params
389 _Z1sPA37_iPS0_
390 s(int (*) [37], int (**) [37])
393 --format=gnu-v3 --no-params
394 _Z3fooA30_A_i
395 foo(int [30][])
398 --format=gnu-v3 --no-params
399 _Z3kooPA28_A30_i
400 koo(int (*) [28][30])
403 --format=gnu-v3 --no-params
404 _ZlsRKU3fooU4bart1XS0_
405 operator<<(X bart foo const&, X bart)
406 operator<<
408 --format=gnu-v3 --no-params
409 _ZlsRKU3fooU4bart1XS2_
410 operator<<(X bart foo const&, X bart foo const)
411 operator<<
413 --format=gnu-v3 --no-params
414 _Z1fM1AKFivE
415 f(int (A::*)() const)
418 --format=gnu-v3 --no-params
419 _Z3absILi11EEvv
420 void abs<11>()
421 abs<11>
423 --format=gnu-v3 --no-params
424 _ZN1AIfEcvT_IiEEv
425 A<float>::operator int<int>()
426 A<float>::operator int<int>
428 --format=gnu-v3 --no-params
429 _ZN12libcw_app_ct10add_optionIS_EEvMT_FvPKcES3_cS3_S3_
430 void libcw_app_ct::add_option<libcw_app_ct>(void (libcw_app_ct::*)(char const*), char const*, char, char const*, char const*)
431 libcw_app_ct::add_option<libcw_app_ct>
433 --format=gnu-v3 --no-params
434 _ZGVN5libcw24_GLOBAL__N_cbll.cc0ZhUKa23compiler_bug_workaroundISt6vectorINS_13omanip_id_tctINS_5debug32memblk_types_manipulator_data_ctEEESaIS6_EEE3idsE
435 guard variable for libcw::(anonymous namespace)::compiler_bug_workaround<std::vector<libcw::omanip_id_tct<libcw::debug::memblk_types_manipulator_data_ct>, std::allocator<libcw::omanip_id_tct<libcw::debug::memblk_types_manipulator_data_ct> > > >::ids
436 guard variable for libcw::(anonymous namespace)::compiler_bug_workaround<std::vector<libcw::omanip_id_tct<libcw::debug::memblk_types_manipulator_data_ct>, std::allocator<libcw::omanip_id_tct<libcw::debug::memblk_types_manipulator_data_ct> > > >::ids
438 --format=gnu-v3 --no-params
439 _ZN5libcw5debug13cwprint_usingINS_9_private_12GlobalObjectEEENS0_17cwprint_using_tctIT_EERKS5_MS5_KFvRSt7ostreamE
440 libcw::debug::cwprint_using_tct<libcw::_private_::GlobalObject> libcw::debug::cwprint_using<libcw::_private_::GlobalObject>(libcw::_private_::GlobalObject const&, void (libcw::_private_::GlobalObject::*)(std::ostream&) const)
441 libcw::debug::cwprint_using<libcw::_private_::GlobalObject>
443 --format=gnu-v3 --no-params
444 _ZNKSt14priority_queueIP27timer_event_request_base_ctSt5dequeIS1_SaIS1_EE13timer_greaterE3topEv
445 std::priority_queue<timer_event_request_base_ct*, std::deque<timer_event_request_base_ct*, std::allocator<timer_event_request_base_ct*> >, timer_greater>::top() const
446 std::priority_queue<timer_event_request_base_ct*, std::deque<timer_event_request_base_ct*, std::allocator<timer_event_request_base_ct*> >, timer_greater>::top
448 --format=gnu-v3 --no-params
449 _ZNKSt15_Deque_iteratorIP15memory_block_stRKS1_PS2_EeqERKS5_
450 std::_Deque_iterator<memory_block_st*, memory_block_st* const&, memory_block_st* const*>::operator==(std::_Deque_iterator<memory_block_st*, memory_block_st* const&, memory_block_st* const*> const&) const
451 std::_Deque_iterator<memory_block_st*, memory_block_st* const&, memory_block_st* const*>::operator==
453 --format=gnu-v3 --no-params
454 _ZNKSt17__normal_iteratorIPK6optionSt6vectorIS0_SaIS0_EEEmiERKS6_
455 std::__normal_iterator<option const*, std::vector<option, std::allocator<option> > >::operator-(std::__normal_iterator<option const*, std::vector<option, std::allocator<option> > > const&) const
456 std::__normal_iterator<option const*, std::vector<option, std::allocator<option> > >::operator-
458 --format=gnu-v3 --no-params
459 _ZNSbIcSt11char_traitsIcEN5libcw5debug27no_alloc_checking_allocatorEE12_S_constructIPcEES6_T_S7_RKS3_
460 char* std::basic_string<char, std::char_traits<char>, libcw::debug::no_alloc_checking_allocator>::_S_construct<char*>(char*, char*, libcw::debug::no_alloc_checking_allocator const&)
461 std::basic_string<char, std::char_traits<char>, libcw::debug::no_alloc_checking_allocator>::_S_construct<char*>
463 --format=gnu-v3 --no-params
464 _Z1fI1APS0_PKS0_EvT_T0_T1_PA4_S3_M1CS8_
465 void f<A, A*, A const*>(A, A*, A const*, A const* (*) [4], A const* (* C::*) [4])
466 f<A, A*, A const*>
468 --format=gnu-v3 --no-params
469 _Z3fooiPiPS_PS0_PS1_PS2_PS3_PS4_PS5_PS6_PS7_PS8_PS9_PSA_PSB_PSC_
470 foo(int, int*, int**, int***, int****, int*****, int******, int*******, int********, int*********, int**********, int***********, int************, int*************, int**************, int***************)
473 --format=gnu-v3 --no-params
474 _ZSt1BISt1DIP1ARKS2_PS3_ES0_IS2_RS2_PS2_ES2_ET0_T_SB_SA_PT1_
475 std::D<A*, A*&, A**> std::B<std::D<A*, A* const&, A* const*>, std::D<A*, A*&, A**>, A*>(std::D<A*, A* const&, A* const*>, std::D<A*, A* const&, A* const*>, std::D<A*, A*&, A**>, A**)
476 std::B<std::D<A*, A* const&, A* const*>, std::D<A*, A*&, A**>, A*>
478 --format=gnu-v3 --no-params
479 _X11TransParseAddress
480 _X11TransParseAddress
481 _X11TransParseAddress
483 --format=gnu-v3 --no-params
484 _ZNSt13_Alloc_traitsISbIcSt18string_char_traitsIcEN5libcw5debug9_private_17allocator_adaptorIcSt24__default_alloc_templateILb0ELi327664EELb1EEEENS5_IS9_S7_Lb1EEEE15_S_instancelessE
485 std::_Alloc_traits<std::basic_string<char, std::string_char_traits<char>, libcw::debug::_private_::allocator_adaptor<char, std::__default_alloc_template<false, 327664>, true> >, libcw::debug::_private_::allocator_adaptor<std::basic_string<char, std::string_char_traits<char>, libcw::debug::_private_::allocator_adaptor<char, std::__default_alloc_template<false, 327664>, true> >, std::__default_alloc_template<false, 327664>, true> >::_S_instanceless
486 std::_Alloc_traits<std::basic_string<char, std::string_char_traits<char>, libcw::debug::_private_::allocator_adaptor<char, std::__default_alloc_template<false, 327664>, true> >, libcw::debug::_private_::allocator_adaptor<std::basic_string<char, std::string_char_traits<char>, libcw::debug::_private_::allocator_adaptor<char, std::__default_alloc_template<false, 327664>, true> >, std::__default_alloc_template<false, 327664>, true> >::_S_instanceless
488 --format=gnu-v3 --no-params
489 _GLOBAL__I__Z2fnv
490 global constructors keyed to fn()
491 global constructors keyed to fn()
493 --format=gnu-v3 --no-params
494 _Z1rM1GFivEMS_KFivES_M1HFivES1_4whatIKS_E5what2IS8_ES3_
495 r(int (G::*)(), int (G::*)() const, G, int (H::*)(), int (G::*)(), what<G const>, what2<G const>, int (G::*)() const)
498 # This is from the gdb testsuite gdb.cp/cplusfuncs.exp.
499 --format=gnu-v3 --no-params
500 _Z10hairyfunc5PFPFilEPcE
501 hairyfunc5(int (*(*)(char*))(long))
502 hairyfunc5
504 # This is from gcc PR 8861
505 --format=gnu-v3 --no-params
506 _Z1fILi1ELc120EEv1AIXplT_cviLd810000000000000000703DAD7A370C5EEE
507 void f<1, (char)120>(A<(1)+((int)((double)[810000000000000000703DAD7A370C5]))>)
508 f<1, (char)120>
510 # This is also from gcc PR 8861
511 --format=gnu-v3 --no-params
512 _Z1fILi1EEv1AIXplT_cvingLf3f800000EEE
513 void f<1>(A<(1)+((int)(-((float)[3f800000])))>)
514 f<1>
516 # This is from a libstdc++ debug mode patch.
517 --format=gnu-v3 --no-params
518 _ZNK11__gnu_debug16_Error_formatter14_M_format_wordImEEvPciPKcT_
519 void __gnu_debug::_Error_formatter::_M_format_word<unsigned long>(char*, int, char const*, unsigned long) const
520 __gnu_debug::_Error_formatter::_M_format_word<unsigned long>
522 # The new demangler used to core dump on this.
523 --format=gnu-v3 --no-params
524 _ZSt18uninitialized_copyIN9__gnu_cxx17__normal_iteratorIPSt4pairISsPFbP6sqlitePPcEESt6vectorIS9_SaIS9_EEEESE_ET0_T_SG_SF_
525 __gnu_cxx::__normal_iterator<std::pair<std::string, bool (*)(sqlite*, char**)>*, std::vector<std::pair<std::string, bool (*)(sqlite*, char**)>, std::allocator<std::pair<std::string, bool (*)(sqlite*, char**)> > > > std::uninitialized_copy<__gnu_cxx::__normal_iterator<std::pair<std::string, bool (*)(sqlite*, char**)>*, std::vector<std::pair<std::string, bool (*)(sqlite*, char**)>, std::allocator<std::pair<std::string, bool (*)(sqlite*, char**)> > > >, __gnu_cxx::__normal_iterator<std::pair<std::string, bool (*)(sqlite*, char**)>*, std::vector<std::pair<std::string, bool (*)(sqlite*, char**)>, std::allocator<std::pair<std::string, bool (*)(sqlite*, char**)> > > > >(__gnu_cxx::__normal_iterator<std::pair<std::string, bool (*)(sqlite*, char**)>*, std::vector<std::pair<std::string, bool (*)(sqlite*, char**)>, std::allocator<std::pair<std::string, bool (*)(sqlite*, char**)> > > >, __gnu_cxx::__normal_iterator<std::pair<std::string, bool (*)(sqlite*, char**)>*, std::vector<std::pair<std::string, bool (*)(sqlite*, char**)>, std::allocator<std::pair<std::string, bool (*)(sqlite*, char**)> > > >, __gnu_cxx::__normal_iterator<std::pair<std::string, bool (*)(sqlite*, char**)>*, std::vector<std::pair<std::string, bool (*)(sqlite*, char**)>, std::allocator<std::pair<std::string, bool (*)(sqlite*, char**)> > > >)
526 std::uninitialized_copy<__gnu_cxx::__normal_iterator<std::pair<std::string, bool (*)(sqlite*, char**)>*, std::vector<std::pair<std::string, bool (*)(sqlite*, char**)>, std::allocator<std::pair<std::string, bool (*)(sqlite*, char**)> > > >, __gnu_cxx::__normal_iterator<std::pair<std::string, bool (*)(sqlite*, char**)>*, std::vector<std::pair<std::string, bool (*)(sqlite*, char**)>, std::allocator<std::pair<std::string, bool (*)(sqlite*, char**)> > > > >
528 # The new demangler used to fail on this.
529 --format=gnu-v3 --no-params
530 _Z1fP1cIPFiiEE
531 f(c<int (*)(int)>*)
534 # Wrap expressions using '>' in an extra layer of parens to avoid
535 # confusion with the '>' which ends the template parameters.
536 --format=gnu-v3 --no-params
537 _Z4dep9ILi3EEvP3fooIXgtT_Li2EEE
538 void dep9<3>(foo<((3)>(2))>*)
539 dep9<3>
541 # Watch out for templated version of `operator<'--it needs an extra
542 # space.
543 --format=gnu-v3 --no-params
544 _ZStltI9file_pathSsEbRKSt4pairIT_T0_ES6_
545 bool std::operator< <file_path, std::string>(std::pair<file_path, std::string> const&, std::pair<file_path, std::string> const&)
546 std::operator< <file_path, std::string>
548 # More hairy qualifier handling.
549 --format=gnu-v3 --no-params
550 _Z9hairyfuncM1YKFPVPFrPA2_PM1XKFKPA3_ilEPcEiE
551 hairyfunc(int (* const (X::** (* restrict (* volatile* (Y::*)(int) const)(char*)) [2])(long) const) [3])
552 hairyfunc
554 # Check that negative numbers are handled correctly.
555 --format=gnu-v3 --no-params
556 _Z1fILin1EEvv
557 void f<-1>()
558 f<-1>
560 # Check a destructor of a standard substitution.
561 --format=gnu-v3 --no-params
562 _ZNSdD0Ev
563 std::basic_iostream<char, std::char_traits<char> >::~basic_iostream()
564 std::basic_iostream<char, std::char_traits<char> >::~basic_iostream
566 # Another case where we got member function qualifiers wrong.
567 --format=gnu-v3 --no-params
568 _ZNK15nsBaseHashtableI15nsUint32HashKey8nsCOMPtrI4IFooEPS2_E13EnumerateReadEPF15PLDHashOperatorRKjS4_PvES9_
569 nsBaseHashtable<nsUint32HashKey, nsCOMPtr<IFoo>, IFoo*>::EnumerateRead(PLDHashOperator (*)(unsigned int const&, IFoo*, void*), void*) const
570 nsBaseHashtable<nsUint32HashKey, nsCOMPtr<IFoo>, IFoo*>::EnumerateRead
572 # Another member function qualifier test case, when the member function
573 # returns a pointer to function.
574 --format=gnu-v3 --no-params
575 _ZNK1C1fIiEEPFivEv
576 int (*C::f<int>() const)()
577 C::f<int>
579 # Another case where we got member function qualifiers wrong.
580 --format=gnu-v3 --no-params
581 _ZZ3BBdI3FooEvvENK3Fob3FabEv
582 BBd<Foo>()::Fob::Fab() const
583 BBd<Foo>()::Fob::Fab
585 # The same idea one level deeper.
586 --format=gnu-v3 --no-params
587 _ZZZ3BBdI3FooEvvENK3Fob3FabEvENK3Gob3GabEv
588 BBd<Foo>()::Fob::Fab() const::Gob::Gab() const
589 BBd<Foo>()::Fob::Fab() const::Gob::Gab
591 # Yet another member function qualifier problem.
592 --format=gnu-v3 --no-params
593 _ZNK5boost6spirit5matchI13rcs_deltatextEcvMNS0_4impl5dummyEFvvEEv
594 boost::spirit::match<rcs_deltatext>::operator void (boost::spirit::impl::dummy::*)()() const
595 boost::spirit::match<rcs_deltatext>::operator void (boost::spirit::impl::dummy::*)()
597 # Multi-dimensional arrays with qualifiers on the inner dimensions.
598 --format=gnu-v3 --no-params
599 _Z3fooIA6_KiEvA9_KT_rVPrS4_
600 void foo<int const [6]>(int const [9][6], int restrict const (* volatile restrict) [9][6])
601 foo<int const [6]>
603 # From PR libstdc++/12736
604 --format=gnu-v3 --no-params
605 _Z3fooIA3_iEvRKT_
606 void foo<int [3]>(int const (&) [3])
607 foo<int [3]>
609 # Related to PR libstdc++/12736
610 --format=gnu-v3 --no-params
611 _Z3fooIPA3_iEvRKT_
612 void foo<int (*) [3]>(int (* const&) [3])
613 foo<int (*) [3]>
615 # This used to crash the demangler--PR 16240
616 --format=gnu-v3 --no-params
617 _ZN13PatternDriver23StringScalarDeleteValueC1ERKNS_25ConflateStringScalarValueERKNS_25AbstractStringScalarValueERKNS_12TemplateEnumINS_12pdcomplementELZNS_16complement_namesEELZNS_14COMPLEMENTENUMEEEE
618 PatternDriver::StringScalarDeleteValue::StringScalarDeleteValue(PatternDriver::ConflateStringScalarValue const&, PatternDriver::AbstractStringScalarValue const&, PatternDriver::TemplateEnum<PatternDriver::pdcomplement, PatternDriver::complement_names, PatternDriver::COMPLEMENTENUM> const&)
619 PatternDriver::StringScalarDeleteValue::StringScalarDeleteValue
621 # This used to cause the demangler to walk into undefined memory--PR 22268
622 --format=gnu-v3 --no-params
623 ALsetchannels
624 ALsetchannels
625 ALsetchannels
626 # Test GNU V3 constructor and destructor identification.
627 # 0 means it is not a constructor/destructor.
628 # Other integers correspond to enum gnu_v3_{c,d}tor_kinds in demangle.h.
629 --is-v3-ctor
630 _GLOBAL__I__Z2fnv
633 --is-v3-dtor
634 _GLOBAL__I__Z2fnv
637 --is-v3-ctor
638 _ZNSdC1Ev
641 --is-v3-dtor
642 _ZNSdC1Ev
645 --is-v3-ctor
646 _ZNSdD0Ev
649 --is-v3-dtor
650 _ZNSdD0Ev
653 --is-v3-ctor
654 _ZNSdC2Ev
657 --is-v3-dtor
658 _ZNSdC2Ev
661 --is-v3-ctor
662 _ZNSdD1Ev
665 --is-v3-dtor
666 _ZNSdD1Ev
669 # This used to cause a crash. It doesn't follow the C++ encoding so
670 # the demangled name should be identical to the original symbol name.
671 --format=auto --no-params
672 _test_array__L_1__B23b___clean.6
673 _test_array__L_1__B23b___clean.6
674 _test_array__L_1__B23b___clean.6
676 --format=java
677 _ZGAN4java4lang5Class7forNameEPNS0_6StringE
678 hidden alias for java.lang.Class.forName(java.lang.String)
680 # Test cases to verify encoding that determines if a return type is present
681 # Related to PR9861
682 --format=java
683 _ZN4java4lang4Math4acosEJdd
684 java.lang.Math.acos(double)double
686 --format=auto
687 _ZN4java4lang4Math4acosEJdd
688 double java::lang::Math::acos(double)
690 --format=auto
691 _ZN4java4lang4Math4acosEJvd
692 void java::lang::Math::acos(double)
694 --format=auto --ret-postfix
695 _ZN4java4lang4Math4acosEJdd
696 java::lang::Math::acos(double)double
698 --format=gnu-v3 --no-params --ret-postfix
699 _Z4makeI7FactoryiET_IT0_Ev
700 make<Factory, int>()Factory<int>
701 make<Factory, int>
703 # From PR 28797
704 --format=auto --no-params
705 _Z1fM1AKiPKS1_
706 f(int const A::*, int const A::* const*)
708 # This used to cause a core dump in the demangler -- PR 29176
709 --format=auto --no-params
710 SASDASDFASDF_sdfsdf
711 SASDASDFASDF_sdfsdf
712 SASDASDFASDF_sdfsdf
713 # These are all cases of invalid manglings where the demangler would read
714 # past the end of the string.
715 # d_name wasn't honouring a NULL from d_substitution
716 --format=gnu-v3
717 _ZSA
718 _ZSA
719 # d_expr_primary wasn't honouring NULL from cplus_demangle_mangled_name
720 --format=gnu-v3
721 _ZN1fIL_
722 _ZN1fIL_
723 # d_operator_name was taking two characters in a row
724 --format=gnu-v3
727 # d_prefix wasn't honouring NULL from d_substitution
728 --format=gnu-v3
729 _ZNSA
730 _ZNSA
731 # d_prefix wasn't honouring NULL from d_template_param
732 --format=gnu-v3
733 _ZNT
734 _ZNT
735 # Dereferencing NULL in d_pointer_to_member_type
736 --format=gnu-v3
737 _Z1aMark
738 _Z1aMark
739 # <local-source-name> test 1
740 --format=gnu-v3
741 _ZL3foo_2
743 # <local-source-name> test 2
744 --format=gnu-v3
745 _ZZL3foo_2vE4var1
746 foo()::var1
747 # <local-source-name> test 3
748 --format=gnu-v3
749 _ZZL3foo_2vE4var1_0
750 foo()::var1
751 # <local-source-name> test 4
752 --format=gnu-v3
753 _ZZN7myspaceL3foo_1EvEN11localstruct1fEZNS_3fooEvE16otherlocalstruct
754 myspace::foo()::localstruct::f(myspace::foo()::otherlocalstruct)
755 # Java resource name
756 --format=gnu-v3
757 _ZGr32_java$Sutil$Siso4217$_properties
758 java resource java/util/iso4217.properties
759 # decltype/param placeholder test
760 --format=gnu-v3
761 _Z3addIidEDTplfp_fp0_ET_T0_
762 decltype ({parm#1}+{parm#2}) add<int, double>(int, double)
763 # decltype scope test
764 --format=gnu-v3
765 _Z1fI1SENDtfp_E4typeET_
766 decltype ({parm#1})::type f<S>(S)
767 # decltype/fn call test
768 --format=gnu-v3
769 _Z4add3IidEDTclL_Z1gEfp_fp0_EET_T0_
770 decltype (g({parm#1}, {parm#2})) add3<int, double>(int, double)
771 # 'this' test
772 --format=gnu-v3
773 _ZN1A1fIiEEDTcldtdtdefpT1b1fIT_EEEv
774 decltype ((((*this).b).(f<int>))()) A::f<int>()
775 # new (2008) built in types test
776 --format=gnu-v3
777 _Z1fDfDdDeDhDsDi
778 f(decimal32, decimal64, decimal128, half, char16_t, char32_t)
779 # pack expansion test
780 --format=gnu-v3
781 _Z1fIIPiPfPdEEvDpT_
782 void f<int*, float*, double*>(int*, float*, double*)
783 # '.' test
784 --format=gnu-v3
785 _Z1hI1AIiEdEDTcldtfp_1gIT0_EEET_S2_
786 decltype (({parm#1}.(g<double>))()) h<A<int>, double>(A<int>, double)
787 # test for typed function in decltype
788 --format=gnu-v3
789 _ZN1AIiE1jIiEEDTplfp_clL_Z1xvEEET_
790 decltype ({parm#1}+(x())) A<int>::j<int>(int)
791 # typed function in decltype with an argument list
792 --format=gnu-v3
793 _Z1tIlEDTplcvT_Li5EclL_Z1qsELi6EEEv
794 decltype (((long)(5))+(q(6))) t<long>()
795 # test for expansion of function parameter pack
796 --format=gnu-v3
797 _Z1gIJidEEDTclL_Z1fEspplfp_Li1EEEDpT_
798 decltype (f(({parm#1}+(1))...)) g<int, double>(int, double)
799 # lambda tests
800 --format=gnu-v3
801 _ZZ1giENKUlvE_clEv
802 g(int)::{lambda()#1}::operator()() const
803 --format=gnu-v3
804 _Z4algoIZ1giEUlvE0_EiT_
805 int algo<g(int)::{lambda()#2}>(g(int)::{lambda()#2})
806 --format=gnu-v3
807 _ZZN1S1fEiiEd0_NKUlvE0_clEv
808 S::f(int, int)::{default arg#2}::{lambda()#2}::operator()() const
809 --format=gnu-v3
810 _ZNK1SIiE1xMUlvE1_clEv
811 S<int>::x::{lambda()#3}::operator()() const
812 --format=gnu-v3
813 _ZN8functionC1IZN1CIiE4testES_Ed_UliE_EET_
814 function::function<C<int>::test(function)::{default arg#1}::{lambda(int)#1}>(C<int>::test(function)::{default arg#1}::{lambda(int)#1})
815 --format=gnu-v3
816 _Z1fN1SUt_E
817 f(S::{unnamed type#1})
818 --format=gnu-v3
819 _Z1fDv32_f
820 f(float __vector(32))
821 --format=gnu-v3
822 _Z1fIfLi4EEvDv_T0__T_
823 void f<float, 4>(float __vector(4))
824 --format=gnu-v3
825 _Z1fI1AEDTclonplfp_fp_EET_
826 decltype ((operator+)({parm#1}, {parm#1})) f<A>(A)
827 --format=gnu-v3
828 _Z1hI1AEDTcldtfp_miEET_
829 decltype (({parm#1}.(operator-))()) h<A>(A)
830 --format=gnu-v3
831 _Z1fDn
832 f(decltype(nullptr))
833 --format=gnu-v3
834 _Z1fIRiEvOT_b
835 void f<int&>(int&, bool)
836 --format=gnu-v3
837 _ZN5aaaaa6bbbbbb5cccccIN23ddddddddddddddddddddddd3eeeENS2_4ffff16ggggggggggggggggENS0_9hhhhhhhhhES6_S6_S6_S6_S6_S6_S6_EE
838 aaaaa::bbbbbb::ccccc<ddddddddddddddddddddddd::eee, ddddddddddddddddddddddd::ffff::gggggggggggggggg, aaaaa::bbbbbb::hhhhhhhhh, aaaaa::bbbbbb::hhhhhhhhh, aaaaa::bbbbbb::hhhhhhhhh, aaaaa::bbbbbb::hhhhhhhhh, aaaaa::bbbbbb::hhhhhhhhh, aaaaa::bbbbbb::hhhhhhhhh, aaaaa::bbbbbb::hhhhhhhhh, aaaaa::bbbbbb::hhhhhhhhh>
839 --format=gnu-v3
840 _Z5outerIsEcPFilE
841 char outer<short>(int (*)(long))
842 --format=gnu-v3
843 _Z5outerPFsiEl
844 outer(short (*)(int), long)
845 --format=gnu-v3
846 _Z6outer2IsEPFilES1_
847 int (*outer2<short>(int (*)(long)))(long)
848 --format=gnu-v3 --ret-postfix
849 _Z5outerIsEcPFilE
850 outer<short>(int (*)(long))char
851 --format=gnu-v3 --ret-postfix
852 _Z5outerPFsiEl
853 outer(short (*)(int), long)
854 --format=gnu-v3 --ret-postfix
855 _Z6outer2IsEPFilES1_
856 outer2<short>(int (*)(long))int (*)(long)
857 --format=gnu-v3 --ret-drop
858 _Z5outerIsEcPFilE
859 outer<short>(int (*)(long))
860 --format=gnu-v3 --ret-drop
861 _Z5outerPFsiEl
862 outer(short (*)(int), long)
863 --format=gnu-v3 --ret-drop
864 _Z6outer2IsEPFilES1_
865 outer2<short>(int (*)(long))
867 --format=gnu-v3 --no-params
868 _ZN1KIXadL_ZN1S1mEiEEE1fEv
869 K<&S::m>::f()
870 K<&S::m>::f
871 --format=gnu-v3
872 _ZN1KILi1EXadL_ZN1S1mEiEEE1fEv
873 K<1, &S::m>::f()
874 # Here the `(int)' argument list of `S::m' is already removed.
875 --format=gnu-v3
876 _ZN1KILi1EXadL_ZN1S1mEEEE1fEv
877 K<1, &S::m>::f()
879 # Used to crash -- binutils PR 13030.
880 --format=gnu-v3
881 _ZSt10_ConstructI10CellBorderIS0_EEvPT_DpOT0_
882 _ZSt10_ConstructI10CellBorderIS0_EEvPT_DpOT0_
883 # A pack expansion is substitutable.
884 --format=gnu-v3
885 _Z1fIJiEiEv1AIJDpT_EET0_S4_
886 void f<int, int>(A<int>, int, int)
887 # So is decltype.
888 --format=gnu-v3
889 _Z1fIiiEDTcvT__EET0_S2_
890 decltype ((int)()) f<int, int>(int, int)
891 # And vector.
892 --format=gnu-v3
893 _Z1fDv4_iS_
894 f(int __vector(4), int __vector(4))
895 --format=gnu-v3
896 _Z2f1Ii1AEDTdsfp_fp0_ET0_MS2_T_
897 decltype ({parm#1}.*{parm#2}) f1<int, A>(A, int A::*)
898 --format=gnu-v3
899 _Z2f2IiEDTquL_Z1bEfp_trET_
900 decltype (b?{parm#1} : (throw)) f2<int>(int)
901 --format=gnu-v3
902 _Z6check1IiEvP6helperIXsznw_T_EEE
903 void check1<int>(helper<sizeof (new int)>*)
904 --format=gnu-v3
905 _Z6check2IiEvP6helperIXszgsnw_T_piEEE
906 void check2<int>(helper<sizeof (::new int())>*)
907 --format=gnu-v3
908 _Z6check3IiEvP6helperIXsznwadL_Z1iE_T_piLi1EEEE
909 void check3<int>(helper<sizeof (new (&i) int(1))>*)
910 --format=gnu-v3
911 _Z6check4IiEvP6helperIXszna_A1_T_EEE
912 void check4<int>(helper<sizeof (new int [1])>*)
913 --format=gnu-v3
914 _Z6check5IiEvP6helperIXszna_A1_T_piEEE
915 void check5<int>(helper<sizeof (new int [1]())>*)
916 --format=gnu-v3
917 _Z1fIiEDTcmgsdlfp_psfp_EPT_
918 decltype ((::delete {parm#1}),(+{parm#1})) f<int>(int*)
919 --format=gnu-v3
920 _Z1fIiEDTcmdafp_psfp_EPT_
921 decltype ((delete[] {parm#1}),(+{parm#1})) f<int>(int*)
922 --format=gnu-v3
923 _ZN1AdlEPv
924 A::operator delete(void*)
925 --format=gnu-v3
926 _Z2f1IiEDTppfp_ET_
927 decltype ({parm#1}++) f1<int>(int)
928 --format=gnu-v3
929 _Z2f1IiEDTpp_fp_ET_
930 decltype (++{parm#1}) f1<int>(int)
931 --format=gnu-v3
932 _Z2f1IiEDTcl1gfp_ilEEET_
933 decltype (g({parm#1}, {})) f1<int>(int)
934 --format=gnu-v3
935 _Z2f1IiEDTnw_T_ilEES0_
936 decltype (new int{}) f1<int>(int)
937 --format=gnu-v3
938 _Zli2_wPKc
939 operator"" _w(char const*)
940 --format=gnu-v3
941 _Z1fIiEDTnw_Dapifp_EET_
942 decltype (new auto({parm#1})) f<int>(int)
943 --format=gnu-v3
944 _Z1fIiERDaRKT_S1_
945 auto& f<int>(int const&, int)
946 --format=gnu-v3
947 _Z1gIiEDcRKT_S0_
948 decltype(auto) g<int>(int const&, int)
949 --format=gnu-v3
950 _Z1gILi1EEvR1AIXT_EER1BIXscbT_EE
951 void g<1>(A<1>&, B<static_cast<bool>(1)>&)
952 --format=gnu-v3
953 _ZNKSt7complexIiE4realB5cxx11Ev
954 std::complex<int>::real[abi:cxx11]() const
956 # Some more crashes revealed by fuzz-testing:
957 # Check for NULL pointer when demangling trinary operators
958 --format=gnu-v3
959 _Z1fAv32_f
960 _Z1fAv32_f
961 # Do not overflow when decoding identifier length
962 --format=gnu-v3
963 _Z11111111111
964 _Z11111111111
965 # Check out-of-bounds access when decoding braced initializer list
966 --format=gnu-v3
967 _ZDTtl
968 _ZDTtl
969 # Check for NULL pointer when demangling DEMANGLE_COMPONENT_LOCAL_NAME
970 --format=gnu-v3
971 _ZZN1fEEd_lEv
972 _ZZN1fEEd_lEv
973 # Handle DEMANGLE_COMPONENT_FIXED_TYPE in d_find_pack
974 --format=gnu-v3
975 _Z1fDpDFT_
976 _Z1fDpDFT_
977 # Likewise, DEMANGLE_COMPONENT_DEFAULT_ARG
978 --format=gnu-v3
979 _Z1fIDpZ1fEd_E
980 _Z1fIDpZ1fEd_E
981 # Likewise, DEMANGLE_COMPONENT_NUMBER
982 --format=gnu-v3
983 _Z1fDpDv1_c
984 f((char __vector(1))...)
986 # Ada (GNAT) tests.
988 # Simple test.
989 --format=gnat
990 yz__qrs
991 yz.qrs
992 # Operator
993 --format=gnat
994 oper__Oadd
995 oper."+"
996 # Overloaded subprogram.
997 --format=gnat
998 yz__qrs__2
999 yz.qrs
1000 # Nested subprogram.
1001 --format=gnat
1002 yz__qrs__tuv.1661
1003 yz.qrs.tuv
1004 # Nested and overloaded subprograms.
1005 --format=gnat
1006 yz__qrs__tuv__2_1.1667
1007 yz.qrs.tuv
1008 --format=gnat
1009 yz__qrs__tuv__2_2.1670
1010 yz.qrs.tuv
1011 --format=gnat
1012 yz__qrs__tuv__2_3.1674
1013 yz.qrs.tuv
1014 # Elaborated flag (not demangled)
1015 --format=gnat
1017 <x_E>
1018 # Nested package
1019 --format=gnat
1020 x__m1
1021 x.m1
1022 --format=gnat
1023 x__m3
1024 x.m3
1025 --format=gnat
1026 x__y__m2X
1027 x.y.m2
1028 --format=gnat
1029 x__y__z__rXb
1030 x.y.z.r
1031 # Child package
1032 --format=gnat
1033 x__y__j
1034 x.y.j
1035 # Library level
1036 --format=gnat
1037 _ada_x__m3
1038 x.m3
1039 # Package body elaborator
1040 --format=gnat
1041 p___elabb
1042 p'Elab_Body
1043 # Package spec elaborator
1044 --format=gnat
1045 p___elabs
1046 p'Elab_Spec
1047 # Task body
1048 --format=gnat
1049 p__taskobjTKB
1050 p.taskobj
1051 # Task subprogram
1052 --format=gnat
1053 p__taskobjTK__f1.2330
1054 p.taskobj.f1
1055 # Protected types subprograms
1056 --format=gnat
1057 prot__lock__getN
1058 prot.lock.get
1059 --format=gnat
1060 prot__lock__getP
1061 prot.lock.get
1062 --format=gnat
1063 prot__lock__get__sub.2590
1064 prot.lock.get.sub
1065 --format=gnat
1066 prot__lock__setN
1067 prot.lock.set
1068 --format=gnat
1069 prot__lock__setP
1070 prot.lock.set
1071 # Protected type entries
1072 --format=gnat
1073 prot__lock__update_B7s
1074 prot.lock.update
1075 --format=gnat
1076 prot__lock__update_E6s
1077 prot.lock.update
1078 # Controlled types
1079 --format=gnat
1080 gnat__sockets__sockets_library_controllerDF__2
1081 gnat.sockets.sockets_library_controller.Finalize
1082 --format=gnat
1083 system__partition_interface__racw_stub_typeDA
1084 system.partition_interface.racw_stub_type.Adjust
1085 # Stream operations
1086 --format=gnat
1087 gnat__wide_wide_string_split__slice_setSR__2
1088 gnat.wide_wide_string_split.slice_set'Read
1089 --format=gnat
1090 ada__real_time__timing_events__events__listSW__2Xnn
1091 ada.real_time.timing_events.events.list'Write
1092 --format=gnat
1093 system__finalization_root__root_controlledSI
1094 system.finalization_root.root_controlled'Input
1095 --format=gnat
1096 ada__finalization__limited_controlledSO__2
1097 ada.finalization.limited_controlled'Output
1098 # Tagged types
1099 --format=gnat
1100 ada__synchronous_task_control___size__2
1101 ada.synchronous_task_control'Size
1102 --format=gnat
1103 ada__real_time__timing_events__events___alignment__2Xnn
1104 ada.real_time.timing_events.events'Alignment
1105 --format=gnat
1106 system__finalization_root___assign__2
1107 system.finalization_root.":="
1109 # Used to crash the demangler.
1110 --format=gnu-v3
1114 # http://sourceware.org/bugzilla/show_bug.cgi?id=11572
1115 --format=auto
1116 _ZN3Psi7VariantIIcPKcEE5visitIIRZN11VariantTest9TestVisit11test_methodEvEUlS2_E0_RZNS6_11test_methodEvEUlcE1_RZNS6_11test_methodEvEUlNS_4NoneEE_EEENS_13VariantDetail19SelectVisitorResultIIDpT_EE4typeEDpOSG_
1117 Psi::VariantDetail::SelectVisitorResult<VariantTest::TestVisit::test_method()::{lambda(char const*)#2}&, VariantTest::TestVisit::test_method()::{lambda(char)#3}&, VariantTest::TestVisit::test_method()::{lambda(Psi::None)#1}&>::type Psi::Variant<char, char const*>::visit<VariantTest::TestVisit::test_method()::{lambda(char const*)#2}&, VariantTest::TestVisit::test_method()::{lambda(char)#3}&, VariantTest::TestVisit::test_method()::{lambda(Psi::None)#1}&>(VariantTest::TestVisit::test_method()::{lambda(char const*)#2}&, VariantTest::TestVisit::test_method()::{lambda(char)#3}&, VariantTest::TestVisit::test_method()::{lambda(Psi::None)#1}&)
1119 # Clone suffix tests
1121 --format=gnu-v3 --no-params
1122 _Z3fo5n.clone.1
1123 fo5(__int128) [clone .clone.1]
1126 --format=gnu-v3 --no-params
1127 _Z3fo5n.constprop.2
1128 fo5(__int128) [clone .constprop.2]
1131 --format=gnu-v3 --no-params
1132 _Z3fo5n.isra.3
1133 fo5(__int128) [clone .isra.3]
1136 --format=gnu-v3 --no-params
1137 _Z3fo5n.part.4
1138 fo5(__int128) [clone .part.4]
1141 --format=gnu-v3 --no-params
1142 _Z12to_be_clonediPv.clone.0
1143 to_be_cloned(int, void*) [clone .clone.0]
1144 to_be_cloned
1146 --format=gnu-v3 --no-params
1147 _Z3fooi.1988
1148 foo(int) [clone .1988]
1151 --format=gnu-v3 --no-params
1152 _Z3fooi.part.9.165493.constprop.775.31805
1153 foo(int) [clone .part.9.165493] [clone .constprop.775.31805]
1156 --format=gnu-v3 --no-params
1157 _Z2f1IiEvT_S0_S0_._omp_fn.2
1158 void f1<int>(int, int, int) [clone ._omp_fn.2]
1159 f1<int>
1161 --format=gnu-v3 --no-params
1162 _Z3fooi._omp_cpyfn.6
1163 foo(int) [clone ._omp_cpyfn.6]
1166 --format=gnu-v3 --no-params
1167 _Z3fooPfS_S_j.sse4_1.2
1168 foo(float*, float*, float*, unsigned int) [clone .sse4_1.2]
1171 --format=gnu-v3 --no-params
1172 _Z1fIKFvvES0_Evv
1173 void f<void () const, void () const>()
1174 f<void () const, void () const>
1176 --format=gnu-v3
1177 _ZN4modc6parser8sequenceINS_9astParser13LocatedParserINS0_9ParserRefINS2_UlRNS2_16TokenParserInputEE_EEEEEINS0_14OptionalParserINS2_18ListParserTemplateILNS_6tokens5Token4TypeE4EXadL_ZNSD_Ut_13parenthesizedEEEE6ParserINS4_INS0_6ParserIS5_NS_3ast10ExpressionEEEEEEEEENSA_INS4_INS2_22OneOfKeywordsToTParserINSJ_5StyleEEEEEEENS0_14SequenceParserIS5_INS0_18ExactElementParserIS5_EENSA_ISM_EEEEENS0_14RepeatedParserINS4_INS0_15TransformParserINSU_IS5_INS4_INSP_INSJ_10Annotation12RelationshipEEEEESX_EEENS2_UlNS2_3LocES12_ONS_5MaybeISK_EEE19_EEEEELb0EEEEEENSU_INS0_17ExtractParserTypeIT_E9InputTypeEINS0_8MaybeRefIS1F_E4TypeEDpNS1I_IT0_E4TypeEEEEOS1F_DpOS1L_
1178 modc::parser::OptionalParser<modc::parser::ParserRef<modc::astParser::OneOfKeywordsToTParser<modc::parser::Parser::Style> > ><modc::parser::ExtractParserType<modc::astParser::LocatedParser<modc::parser::ParserRef<modc::astParser::{lambda(modc::astParser::TokenParserInput&)#1}> > >::InputType, modc::parser::MaybeRef<modc::parser::ParserRef<modc::parser::TransformParser<modc::parser::OptionalParser<modc::parser::ParserRef<modc::astParser::OneOfKeywordsToTParser<modc::parser::Parser::Style> > ><modc::astParser::TokenParserInput<modc::parser::ParserRef<modc::parser::OptionalParser<modc::astParser::ListParserTemplate<(modc::tokens::Token::Type)4, &modc::tokens::Token::{unnamed type#1}::parenthesized>::Parser<modc::parser::ParserRef<modc::parser::Parser<modc::astParser::TokenParserInput, modc::ast::Expression> > > ><modc::parser::Parser::Annotation::Relationship> >, modc::parser::ExactElementParser<modc::astParser::TokenParserInput> > >, modc::astParser::{lambda(modc::astParser::Loc, modc::parser::TransformParser, modc::Maybe<modc::ast>&&)#21}> > >::Type, modc::astParser::LocatedParser<modc::parser::ParserRef<modc::astParser::{lambda(modc::astParser::TokenParserInput&)#1}> ><modc::parser::OptionalParser<modc::astParser::ListParserTemplate<(modc::tokens::Token::Type)4, &modc::tokens::Token::{unnamed type#1}::parenthesized>::Parser<modc::parser::ParserRef<modc::parser::Parser<modc::astParser::TokenParserInput, modc::ast::Expression> > > > >::Type, modc::astParser::LocatedParser<modc::parser::ParserRef<modc::astParser::{lambda(modc::astParser::TokenParserInput&)#1}> ><modc::parser::OptionalParser<modc::parser::ParserRef<modc::astParser::OneOfKeywordsToTParser<modc::parser::Parser::Style> > > >::Type, modc::astParser::LocatedParser<modc::parser::ParserRef<modc::astParser::{lambda(modc::astParser::TokenParserInput&)#1}> ><modc::parser::SequenceParser<modc::astParser::TokenParserInput<modc::parser::ExactElementParser<modc::astParser::TokenParserInput>, modc::parser::OptionalParser<modc::parser::Parser<modc::astParser::TokenParserInput, modc::ast::Expression> > > > >::Type, modc::astParser::LocatedParser<modc::parser::ParserRef<modc::astParser::{lambda(modc::astParser::TokenParserInput&)#1}> ><modc::parser::RepeatedParser<modc::parser::ParserRef<modc::parser::TransformParser<modc::parser::OptionalParser<modc::parser::ParserRef<modc::astParser::OneOfKeywordsToTParser<modc::parser::Parser::Style> > ><modc::astParser::TokenParserInput<modc::parser::ParserRef<modc::parser::OptionalParser<modc::astParser::ListParserTemplate<(modc::tokens::Token::Type)4, &modc::tokens::Token::{unnamed type#1}::parenthesized>::Parser<modc::parser::ParserRef<modc::parser::Parser<modc::astParser::TokenParserInput, modc::ast::Expression> > > ><modc::parser::Parser::Annotation::Relationship> >, modc::parser::ExactElementParser<modc::astParser::TokenParserInput> > >, modc::astParser::{lambda(modc::astParser::Loc, modc::parser::TransformParser, modc::Maybe<modc::ast>&&)#21}> >, false> >::Type> modc::parser::sequence<modc::astParser::LocatedParser<modc::parser::ParserRef<modc::astParser::{lambda(modc::astParser::TokenParserInput&)#1}> >, modc::parser::OptionalParser<modc::astParser::ListParserTemplate<(modc::tokens::Token::Type)4, &modc::tokens::Token::{unnamed type#1}::parenthesized>::Parser<modc::parser::ParserRef<modc::parser::Parser<modc::astParser::TokenParserInput, modc::ast::Expression> > > >, modc::parser::OptionalParser<modc::parser::ParserRef<modc::astParser::OneOfKeywordsToTParser<modc::parser::Parser::Style> > >, modc::parser::SequenceParser<modc::astParser::TokenParserInput<modc::parser::ExactElementParser<modc::astParser::TokenParserInput>, modc::parser::OptionalParser<modc::parser::Parser<modc::astParser::TokenParserInput, modc::ast::Expression> > > >, modc::parser::RepeatedParser<modc::parser::ParserRef<modc::parser::TransformParser<modc::parser::OptionalParser<modc::parser::ParserRef<modc::astParser::OneOfKeywordsToTParser<modc::parser::Parser::Style> > ><modc::astParser::TokenParserInput<modc::parser::ParserRef<modc::parser::OptionalParser<modc::astParser::ListParserTemplate<(modc::tokens::Token::Type)4, &modc::tokens::Token::{unnamed type#1}::parenthesized>::Parser<modc::parser::ParserRef<modc::parser::Parser<modc::astParser::TokenParserInput, modc::ast::Expression> > > ><modc::parser::Parser::Annotation::Relationship> >, modc::parser::ExactElementParser<modc::astParser::TokenParserInput> > >, modc::astParser::{lambda(modc::astParser::Loc, modc::parser::TransformParser, modc::Maybe<modc::ast>&&)#21}> >, false> >(modc::parser::ParserRef<modc::parser::TransformParser<modc::parser::OptionalParser<modc::parser::ParserRef<modc::astParser::OneOfKeywordsToTParser<modc::parser::Parser::Style> > ><modc::astParser::TokenParserInput<modc::parser::ParserRef<modc::parser::OptionalParser<modc::astParser::ListParserTemplate<(modc::tokens::Token::Type)4, &modc::tokens::Token::{unnamed type#1}::parenthesized>::Parser<modc::parser::ParserRef<modc::parser::Parser<modc::astParser::TokenParserInput, modc::ast::Expression> > > ><modc::parser::Parser::Annotation::Relationship> >, modc::parser::ExactElementParser<modc::astParser::TokenParserInput> > >, modc::astParser::{lambda(modc::astParser::Loc, modc::parser::TransformParser, modc::Maybe<modc::ast>&&)#21}> >&&, (modc::parser::MaybeRef&&)...)
1179 --format=gnu-v3
1180 _ZNKR1A1hEv
1181 A::h() const &
1182 --format=gnu-v3
1183 _Z1lM1AKFvvRE
1184 l(void (A::*)() const &)
1185 --format=gnu-v3
1186 _Z1mIFvvOEEvM1AT_
1187 void m<void () &&>(void (A::*)() &&)
1188 --format=gnu-v3
1189 _Z1nIM1AKFvvREEvT_
1190 void n<void (A::*)() const &>(void (A::*)() const &)
1191 --format=gnu-v3
1192 _ZL1fIiEvv
1193 void f<int>()
1194 # https://sourceware.org/bugzilla/show_bug.cgi?id=14963#c3
1195 --format=gnu-v3
1196 _ZSt7forwardIRN1x14refobjiteratorINS0_3refINS0_4mime30multipart_section_processorObjIZ15get_body_parserIZZN14mime_processor21make_section_iteratorERKNS2_INS3_10sectionObjENS0_10ptrrefBaseEEEbENKUlvE_clEvEUlSB_bE_ZZNS6_21make_section_iteratorESB_bENKSC_clEvEUlSB_E0_ENS1_INS2_INS0_20outputrefiteratorObjIiEES8_EEEERKSsSB_OT_OT0_EUlmE_NS3_32make_multipart_default_discarderISP_EEEES8_EEEEEOT_RNSt16remove_referenceISW_E4typeE
1197 x::refobjiterator<x::ref<x::mime::multipart_section_processorObj<get_body_parser<mime_processor::make_section_iterator(x::ref<x::mime::sectionObj, x::ptrrefBase> const&, bool)::{lambda()#1}::operator()() const::{lambda(x::ref<x::mime::sectionObj, x::ptrrefBase> const&, bool)#1}, mime_processor::make_section_iterator(x::ref<x::mime::sectionObj, x::ptrrefBase> const&, bool)::{lambda()#1}::operator()() const::{lambda(x::ref<x::mime::sectionObj, x::ptrrefBase> const&)#2}>(std::string const&, x::ref<x::mime::sectionObj, x::ptrrefBase> const&, mime_processor::make_section_iterator(x::ref<x::mime::sectionObj, x::ptrrefBase> const&, bool)::{lambda()#1}::operator()() const::{lambda(x::ref<x::mime::sectionObj, x::ptrrefBase> const&, bool)#1}&&, mime_processor::make_section_iterator(x::ref<x::mime::sectionObj, x::ptrrefBase> const&, bool)::{lambda()#1}::operator()() const::{lambda(x::ref<x::mime::sectionObj, x::ptrrefBase> const&)#2}&&)::{lambda(unsigned long)#1}, x::mime::make_multipart_default_discarder<get_body_parser<mime_processor::make_section_iterator(x::ref<x::mime::sectionObj, x::ptrrefBase> const&, bool)::{lambda()#1}::operator()() const::{lambda(x::ref<x::mime::sectionObj, x::ptrrefBase> const&, bool)#1}, mime_processor::make_section_iterator(x::ref<x::mime::sectionObj, x::ptrrefBase> const&, bool)::{lambda()#1}::operator()() const::{lambda(x::ref<x::mime::sectionObj, x::ptrrefBase> const&)#2}>(std::string const&, x::ref<x::mime::sectionObj, x::ptrrefBase> const&, mime_processor::make_section_iterator(x::ref<x::mime::sectionObj, x::ptrrefBase> const&, bool)::{lambda()#1}::operator()() const::{lambda(x::ref<x::mime::sectionObj, x::ptrrefBase> const&, bool)#1}&&, mime_processor::make_section_iterator(x::ref<x::mime::sectionObj, x::ptrrefBase> const&, bool)::{lambda()#1}::operator()() const::{lambda(x::ref<x::mime::sectionObj, x::ptrrefBase> const&)#2}&&)::{lambda(unsigned long)#1}> >, x::ptrrefBase> >& std::forward<x::refobjiterator<x::ref<x::mime::multipart_section_processorObj<get_body_parser<mime_processor::make_section_iterator(x::ref<x::mime::sectionObj, x::ptrrefBase> const&, bool)::{lambda()#1}::operator()() const::{lambda(x::ref<x::mime::sectionObj, x::ptrrefBase> const&, bool)#1}, mime_processor::make_section_iterator(x::ref<x::mime::sectionObj, x::ptrrefBase> const&, bool)::{lambda()#1}::operator()() const::{lambda(x::ref<x::mime::sectionObj, x::ptrrefBase> const&)#2}>(std::string const&, x::ref<x::mime::sectionObj, x::ptrrefBase> const&, mime_processor::make_section_iterator(x::ref<x::mime::sectionObj, x::ptrrefBase> const&, bool)::{lambda()#1}::operator()() const::{lambda(x::ref<x::mime::sectionObj, x::ptrrefBase> const&, bool)#1}&&, mime_processor::make_section_iterator(x::ref<x::mime::sectionObj, x::ptrrefBase> const&, bool)::{lambda()#1}::operator()() const::{lambda(x::ref<x::mime::sectionObj, x::ptrrefBase> const&)#2}&&)::{lambda(unsigned long)#1}, x::mime::make_multipart_default_discarder<get_body_parser<mime_processor::make_section_iterator(x::ref<x::mime::sectionObj, x::ptrrefBase> const&, bool)::{lambda()#1}::operator()() const::{lambda(x::ref<x::mime::sectionObj, x::ptrrefBase> const&, bool)#1}, mime_processor::make_section_iterator(x::ref<x::mime::sectionObj, x::ptrrefBase> const&, bool)::{lambda()#1}::operator()() const::{lambda(x::ref<x::mime::sectionObj, x::ptrrefBase> const&)#2}>(std::string const&, x::ref<x::mime::sectionObj, x::ptrrefBase> const&, mime_processor::make_section_iterator(x::ref<x::mime::sectionObj, x::ptrrefBase> const&, bool)::{lambda()#1}::operator()() const::{lambda(x::ref<x::mime::sectionObj, x::ptrrefBase> const&, bool)#1}&&, mime_processor::make_section_iterator(x::ref<x::mime::sectionObj, x::ptrrefBase> const&, bool)::{lambda()#1}::operator()() const::{lambda(x::ref<x::mime::sectionObj, x::ptrrefBase> const&)#2}&&)::{lambda(unsigned long)#1}> >, x::ptrrefBase> >&>(std::remove_reference<x::refobjiterator<x::ref<x::mime::multipart_section_processorObj<get_body_parser<mime_processor::make_section_iterator(x::ref<x::mime::sectionObj, x::ptrrefBase> const&, bool)::{lambda()#1}::operator()() const::{lambda(x::ref<x::mime::sectionObj, x::ptrrefBase> const&, bool)#1}, mime_processor::make_section_iterator(x::ref<x::mime::sectionObj, x::ptrrefBase> const&, bool)::{lambda()#1}::operator()() const::{lambda(x::ref<x::mime::sectionObj, x::ptrrefBase> const&)#2}>(std::string const&, x::ref<x::mime::sectionObj, x::ptrrefBase> const&, mime_processor::make_section_iterator(x::ref<x::mime::sectionObj, x::ptrrefBase> const&, bool)::{lambda()#1}::operator()() const::{lambda(x::ref<x::mime::sectionObj, x::ptrrefBase> const&, bool)#1}&&, mime_processor::make_section_iterator(x::ref<x::mime::sectionObj, x::ptrrefBase> const&, bool)::{lambda()#1}::operator()() const::{lambda(x::ref<x::mime::sectionObj, x::ptrrefBase> const&)#2}&&)::{lambda(unsigned long)#1}, x::mime::make_multipart_default_discarder<get_body_parser<mime_processor::make_section_iterator(x::ref<x::mime::sectionObj, x::ptrrefBase> const&, bool)::{lambda()#1}::operator()() const::{lambda(x::ref<x::mime::sectionObj, x::ptrrefBase> const&, bool)#1}, mime_processor::make_section_iterator(x::ref<x::mime::sectionObj, x::ptrrefBase> const&, bool)::{lambda()#1}::operator()() const::{lambda(x::ref<x::mime::sectionObj, x::ptrrefBase> const&)#2}>(std::string const&, x::ref<x::mime::sectionObj, x::ptrrefBase> const&, mime_processor::make_section_iterator(x::ref<x::mime::sectionObj, x::ptrrefBase> const&, bool)::{lambda()#1}::operator()() const::{lambda(x::ref<x::mime::sectionObj, x::ptrrefBase> const&, bool)#1}&&, mime_processor::make_section_iterator(x::ref<x::mime::sectionObj, x::ptrrefBase> const&, bool)::{lambda()#1}::operator()() const::{lambda(x::ref<x::mime::sectionObj, x::ptrrefBase> const&)#2}&&)::{lambda(unsigned long)#1}> >, x::ptrrefBase> >&>::type&)
1199 --format=gnu-v3 --no-params
1200 _ZNK7strings8internal8SplitterINS_9delimiter5AnyOfENS_9SkipEmptyEEcvT_ISt6vectorI12basic_stringIcSt11char_traitsIcESaIcEESaISD_EEvEEv
1201 strings::internal::Splitter<strings::delimiter::AnyOf, strings::SkipEmpty>::operator std::vector<basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<basic_string<char, std::char_traits<char>, std::allocator<char> > > ><std::vector<basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<basic_string<char, std::char_traits<char>, std::allocator<char> > > >, void>() const
1202 strings::internal::Splitter<strings::delimiter::AnyOf, strings::SkipEmpty>::operator std::vector<basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<basic_string<char, std::char_traits<char>, std::allocator<char> > > ><std::vector<basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<basic_string<char, std::char_traits<char>, std::allocator<char> > > >, void>
1204 --format=gnu-v3 --no-params
1205 _ZN1AcvT_I1CEEv
1206 A::operator C<C>()
1207 A::operator C<C>
1209 --format=gnu-v3 --no-params
1210 _ZN1AcvPT_I1CEEv
1211 A::operator C*<C>()
1212 A::operator C*<C>
1214 --format=gnu-v3 --no-params
1215 _ZN1AcvT_IiEI1CEEv
1216 A::operator C<int><C>()
1217 A::operator C<int><C>
1218 # https://sourceware.org/bugzilla/show_bug.cgi?id=14963#c16
1219 --format=gnu-v3
1220 _ZN3mdr16in_cached_threadIRZNK4cudr6GPUSet17parallel_for_eachIZN5tns3d20shape_representation7compute7GPUImpl7executeERKNS_1AINS_7ptr_refIKjEELl3ELl3ENS_8c_strideILl1ELl0EEEEERKNS8_INS9_IjEELl4ELl1ESD_EEEUliRKNS1_7ContextERNS7_5StateEE_JSt6vectorISO_SaISO_EEEEEvOT_DpRT0_EUlSP_E_JSt17reference_wrapperISO_EEEENS_12ScopedFutureIDTclfp_spcl7forwardISW_Efp0_EEEEESV_DpOSW_
1221 mdr::ScopedFuture<decltype ({parm#1}((forward<std::reference_wrapper<tns3d::shape_representation::compute::GPUImpl::State> >)({parm#2})))> mdr::in_cached_thread<cudr::GPUSet::parallel_for_each<tns3d::shape_representation::compute::GPUImpl::execute(mdr::A<mdr::ptr_ref<unsigned int const>, 3l, 3l, mdr::c_stride<1l, 0l> > const&, mdr::A<mdr::ptr_ref<unsigned int>, 4l, 1l, mdr::c_stride<1l, 0l> > const&)::{lambda(int, cudr::Context const&, tns3d::shape_representation::compute::GPUImpl::State&)#1}, std::vector<tns3d::shape_representation::compute::GPUImpl::State, std::allocator<tns3d::shape_representation::compute::GPUImpl::State> > >(tns3d::shape_representation::compute::GPUImpl::execute(mdr::A<mdr::ptr_ref<unsigned int const>, 3l, 3l, mdr::c_stride<1l, 0l> > const&, mdr::A<mdr::ptr_ref<unsigned int>, 4l, 1l, mdr::c_stride<1l, 0l> > const&)::{lambda(int, cudr::Context const&, tns3d::shape_representation::compute::GPUImpl::State&)#1}&&, std::vector<tns3d::shape_representation::compute::GPUImpl::State, std::allocator<tns3d::shape_representation::compute::GPUImpl::State> >&) const::{lambda(tns3d::shape_representation::compute::GPUImpl::State&)#1}&, std::reference_wrapper<tns3d::shape_representation::compute::GPUImpl::State> >(tns3d::shape_representation::compute::GPUImpl::execute(mdr::A<mdr::ptr_ref<unsigned int const>, 3l, 3l, mdr::c_stride<1l, 0l> > const&, mdr::A<mdr::ptr_ref<unsigned int>, 4l, 1l, mdr::c_stride<1l, 0l> > const&)::{lambda(int, cudr::Context const&, tns3d::shape_representation::compute::GPUImpl::State&)#1}&&, std::vector<tns3d::shape_representation::compute::GPUImpl::State, std::allocator<tns3d::shape_representation::compute::GPUImpl::State> >&&)
1222 # https://sourceware.org/bugzilla/show_bug.cgi?id=14963#c18
1223 --format=gnu-v3
1224 _ZNSt9_Any_data9_M_accessIPZN13ThreadManager10futureTaskISt5_BindIFSt7_Mem_fnIM6RunnerFvvEEPS5_EEEEvOT_EUlvE_EERSC_v
1225 ThreadManager::futureTask<std::_Bind<std::_Mem_fn<void (Runner::*)()> (Runner*)> >(std::_Bind<std::_Mem_fn<void (Runner::*)()> (Runner*)>&&)::{lambda()#1}*& std::_Any_data::_M_access<ThreadManager::futureTask<std::_Bind<std::_Mem_fn<void (Runner::*)()> (Runner*)> >(ThreadManager::futureTask<std::_Bind<std::_Mem_fn<void (Runner::*)()> (Runner*)> >(std::_Bind<std::_Mem_fn<void (Runner::*)()> (Runner*)>&&)::{lambda()#1}*&&)::{lambda()#1}*>()
1226 # https://sourceware.org/bugzilla/show_bug.cgi?id=14963#c24
1227 # aka https://sourceware.org/bugzilla/show_bug.cgi?id=16593
1228 --format=gnu-v3
1229 _ZNSt9_Any_data9_M_accessIPZN3sel8Selector6SetObjI3FooJPKcMS4_FviEEEEvRT_DpT0_EUlvE_EESA_v
1230 sel::Selector::SetObj<Foo, char const*, void (Foo::*)(int)>(Foo&, char const*, void (Foo::*)(int))::{lambda()#1}*& std::_Any_data::_M_access<sel::Selector::SetObj<Foo, char const*, void (Foo::*)(int)>(sel::Selector::SetObj<Foo, char const*, void (Foo::*)(int)>(Foo&, char const*, void (Foo::*)(int))::{lambda()#1}*&, char const*, void (Foo::*)(int))::{lambda()#1}*>()
1231 # https://sourceware.org/bugzilla/show_bug.cgi?id=16752#c1
1232 --format=gnu-v3
1233 _ZNSt9_Any_data9_M_accessIPZN13ThreadManager7newTaskIRSt5_BindIFSt7_Mem_fnIM5DiaryFivEEPS5_EEIEEESt6futureINSt9result_ofIFT_DpT0_EE4typeEEOSF_DpOSG_EUlvE_EERSF_v
1234 ThreadManager::newTask<std::_Bind<std::_Mem_fn<int (Diary::*)()> (Diary*)>&>(std::_Bind<std::_Mem_fn<int (Diary::*)()> (Diary*)>&)::{lambda()#1}*& std::_Any_data::_M_access<ThreadManager::newTask<std::_Bind<std::_Mem_fn<int (Diary::*)()> (Diary*)>&>(ThreadManager::newTask<std::_Bind<std::_Mem_fn<int (Diary::*)()> (Diary*)>&>(std::_Bind<std::_Mem_fn<int (Diary::*)()> (Diary*)>&)::{lambda()#1}*&&)::{lambda()#1}*>()
1235 # https://sourceware.org/bugzilla/show_bug.cgi?id=16752#c6
1236 --format=gnu-v3
1237 _ZNSt9_Any_data9_M_accessIPZN6cereal18polymorphic_detail15getInputBindingINS1_16JSONInputArchiveEEENS1_6detail15InputBindingMapIT_E11SerializersERS7_jEUlPvRSt10unique_ptrIvNS5_12EmptyDeleterIvEEEE0_EESA_v
1238 cereal::polymorphic_detail::getInputBinding<cereal::JSONInputArchive>(cereal::JSONInputArchive&, unsigned int)::{lambda(void*, std::unique_ptr<void, cereal::detail::EmptyDeleter<void> >&)#2}*& std::_Any_data::_M_access<cereal::polymorphic_detail::getInputBinding<cereal::JSONInputArchive>(cereal::polymorphic_detail::getInputBinding<cereal::JSONInputArchive>(cereal::JSONInputArchive&, unsigned int)::{lambda(void*, std::unique_ptr<void, cereal::detail::EmptyDeleter<void> >&)#2}*&, unsigned int)::{lambda(void*, std::unique_ptr<void, cereal::detail::EmptyDeleter<void> >&)#2}*>()
1239 # https://sourceware.org/bugzilla/show_bug.cgi?id=16845#c2
1240 --format=gnu-v3
1241 _ZNSt9_Any_data9_M_accessIPZ4postISt8functionIFvvEEEvOT_EUlvE_EERS5_v
1242 post<std::function<void ()> >(std::function<void ()>&&)::{lambda()#1}*& std::_Any_data::_M_access<post<std::function<void ()> >(post<std::function<void ()> >(std::function<void ()>&&)::{lambda()#1}*&&)::{lambda()#1}*>()
1244 --format=auto --no-params
1245 _Z3xxxDFyuVb
1246 xxx(unsigned long long _Fract, bool volatile)
1248 # https://sourceware.org/bugzilla/show_bug.cgi?id=16817
1249 --format=auto --no-params
1250 _QueueNotification_QueueController__$4PPPPPPPM_A_INotice___Z
1251 _QueueNotification_QueueController__$4PPPPPPPM_A_INotice___Z
1252 _QueueNotification_QueueController__$4PPPPPPPM_A_INotice___Z
1253 --format=gnu-v3
1254 _Z1fSsB3fooS_
1255 f(std::string[abi:foo], std::string[abi:foo])
1256 --format=gnu-v3
1257 _Z18IndirectExternCallIPU7stdcallU7regparmILi3EEFviiEiEvT_T0_S3_
1258 void IndirectExternCall<void ( regparm<3> stdcall*)(int, int), int>(void ( regparm<3> stdcall*)(int, int), int, void ( regparm<3> stdcall*)(int, int))
1260 # ABI tags used to confuse the constructor name calculation.
1261 --format=gnu-v3 --no-params
1262 _ZNSt8ios_base7failureB5cxx11C1EPKcRKSt10error_code
1263 std::ios_base::failure[abi:cxx11]::failure(char const*, std::error_code const&)
1264 std::ios_base::failure[abi:cxx11]::failure
1265 --format=gnu-v3
1266 _Z1fPDxFvvES0_
1267 f(void (*)() transaction_safe, void (*)() transaction_safe)
1269 # These two are from gcc PR61321, and gcc PR61233 / gdb PR16957
1271 --format=gnu-v3
1272 _Z13function_tempIiEv1AIXszcvT_Li999EEE
1273 void function_temp<int>(A<sizeof ((int)(999))>)
1275 --format=gnu-v3
1276 _Z7ZipWithI7QStringS0_5QListZN4oral6detail16AdaptCreateTableI7AccountEES0_RKNS3_16CachedFieldsDataEEUlRKS0_SA_E_ET1_IDTclfp1_cvT__EcvT0__EEEERKT1_ISC_ERKT1_ISD_ET2_
1277 QList<decltype ({parm#3}((QString)(), (QString)()))> ZipWith<QString, QString, QList, oral::detail::AdaptCreateTable<Account>(oral::detail::CachedFieldsData const&)::{lambda(QString const&, QString const&)#1}>(QList<QList> const&, QList<QString> const&, oral::detail::AdaptCreateTable<Account>(oral::detail::CachedFieldsData const&)::{lambda(QString const&, QString const&)#1})
1279 # These three are symbols generated by g++'s testsuite, which triggered the same bug as above.
1280 --format=gnu-v3
1281 _Z14int_if_addableI1YERiP1AIXszpldecvPT_Li0EdecvS4_Li0EEE
1282 int& int_if_addable<Y>(A<sizeof ((*((Y*)(0)))+(*((Y*)(0))))>*)
1284 --format=gnu-v3
1285 _Z3bazIiEvP1AIXszcl3foocvT__ELCf00000000_00000000EEEE
1286 void baz<int>(A<sizeof (foo((int)(), (float _Complex)00000000_00000000))>*)
1288 --format=gnu-v3
1289 _Z3fooI1FEN1XIXszdtcl1PclcvT__EEE5arrayEE4TypeEv
1290 X<sizeof ((P(((F)())())).array)>::Type foo<F>()
1292 _Z1fIJidEEv1AIXsZT_EE
1293 void f<int, double>(A<2>)
1295 _ZN1A1fIJiiEiJiiiEEEvRAsPDpT_T0_DpT1_E_iS3_S5_
1296 void A::f<int, int, int, int, int, int>(int (&) [6], int, int, int, int)
1298 _Z10unary_leftIJLi1ELi2ELi3EEEv1AIXflplT_EE
1299 void unary_left<1, 2, 3>(A<(...+(1, 2, 3))>)
1301 _Z11unary_rightIJLi1ELi2ELi3EEEv1AIXfrplT_EE
1302 void unary_right<1, 2, 3>(A<((1, 2, 3)+...)>)
1304 _Z11binary_leftIJLi1ELi2ELi3EEEv1AIXfLplLi42ET_EE
1305 void binary_left<1, 2, 3>(A<((42)+...+(1, 2, 3))>)
1307 _Z12binary_rightIJLi1ELi2ELi3EEEv1AIXfRplT_Li42EEE
1308 void binary_right<1, 2, 3>(A<((1, 2, 3)+...+(42))>)
1309 # Inheriting constructor
1311 _ZN1DCI11BEi
1312 D::B(int)
1313 # exception-specification (C++17)
1315 _Z1fIvJiELb0EEvPDOT1_EFT_DpT0_E
1316 void f<void, int, false>(void (*)(int) noexcept(false))
1318 _Z1fIvJiELb0EEvPDoFT_DpT0_E
1319 void f<void, int, false>(void (*)(int) noexcept)
1321 _Z1fIvJiELb0EEvPDwiEFT_DpT0_E
1322 void f<void, int, false>(void (*)(int) throw(int))
1324 # fold-expression with missing third component could crash.
1325 _Z12binary_rightIJLi1ELi2ELi3EEEv1AIXfRplT_LiEEE
1326 _Z12binary_rightIJLi1ELi2ELi3EEEv1AIXfRplT_LiEEE
1328 # ?: expression with missing third component could crash.
1329 AquT_quT_4mxautouT_4mxxx
1330 AquT_quT_4mxautouT_4mxxx
1332 # pr c++/78252 generic lambda mangling uses template parms, and leads
1333 # to unbounded recursion if not dealt with properly
1334 _Z7forwardIRZ3FoovEUlRT_E_EOS0_S1_
1335 Foo()::{lambda(auto:1&)#1}& forward<Foo()::{lambda(auto:1&)#1}&>(Foo()::{lambda(auto:1&)#1}&)
1337 _Z7forwardIZ3FoovEUlRiRT_E_EOS1_S2_
1338 Foo()::{lambda(int&, auto:1&)#1}&& forward<Foo()::{lambda(int&, auto:1&)#1}>(Foo()::{lambda(int&, auto:1&)#1}&)
1340 _Z7forwardIZ3FoovEUlRT_R1XIiEE0_EOS0_S1_
1341 Foo()::{lambda(auto:1&, X<int>&)#2}&& forward<Foo()::{lambda(auto:1&, X<int>&)#2}>(Foo()::{lambda(auto:1&, X<int>&)#2}&)
1343 _Z7forwardIZ3FoovEUlPA5_T_E1_EOS0_RS0_
1344 Foo()::{lambda(auto:1 (*&&forward<Foo()::{lambda(auto:1 (*) [5])#3}>(auto:1&)) [5])#3}
1346 _Z3eatIZ3FoovEUlRiRT_E_EvS2_
1347 void eat<Foo()::{lambda(int&, auto:1&)#1}>(Foo()::{lambda(int&, auto:1&)#1}&)
1349 _Z3eatIZ3FoovEUlRT_R1XIiEE0_EvS1_
1350 void eat<Foo()::{lambda(auto:1&, X<int>&)#2}>(Foo()::{lambda(auto:1&, X<int>&)#2}&)
1352 _Z3eatIZ3FoovEUlPA5_T_E1_EvRS0_
1353 void eat<Foo()::{lambda(auto:1 (*) [5])#3}>(Foo()::{lambda(auto:1 (*&) [5])#3})
1355 _Z3eatIPiZ3FoovEUlPT_PT0_E4_EvRS1_RS3_
1356 void eat<int*, Foo()::{lambda(auto:1*, auto:2*)#6}>(int*&, Foo()::{lambda(auto:1*, auto:2*)#6}&)
1358 _Z3eatIPiZ3BarIsEvvEUlPsPT_PT0_E0_EvRS3_RS5_
1359 void eat<int*, Bar<short>()::{lambda(short*, auto:1*, auto:2*)#2}>(int*&, Bar<short>()::{lambda(short*, auto:1*, auto:2*)#2}&)
1361 _Z1fP1BIXtl1ALi1EEEE
1362 f(B<A{1}>*)
1364 _ZTAXtl1ALi1EEE
1365 template parameter object for A{1}
1367 # PR 77489
1368 _ZZ3foovE8localVar_9
1369 foo()::localVar
1371 _ZZ3foovE8localVar_10
1372 foo()::localVar
1374 _ZZ3foovE8localVar__10_
1375 foo()::localVar
1377 _ZZ3foovE8localVar__9_
1378 _ZZ3foovE8localVar__9_
1380 _ZZ3foovE8localVar__12
1381 _ZZ3foovE8localVar__12
1383 # PR 70182
1384 _Z1gI1AEv1SIXadsrT_onplEE
1385 void g<A>(S<&A::operator+>)
1387 _Z1gI1AEv1SIXadsrT_plEE
1388 void g<A>(S<&A::operator+>)
1391 # Test recursion PR67264
1392 _Z1KIStcvT_E
1393 _Z1KIStcvT_E
1395 _ZcvT_IIS0_EE
1396 _ZcvT_IIS0_EE
1398 _ZcvT_IZcvT_E1fE
1399 _ZcvT_IZcvT_E1fE
1401 _Z1gINcvT_EE
1402 _Z1gINcvT_EE
1404 _ZcvT_ILZcvDTT_EEE
1405 _ZcvT_ILZcvDTT_EEE
1407 _Z1gIJOOT_EEOT_c
1408 _Z1gIJOOT_EEOT_c
1410 _Z1KMMMMMMMMMMMMMMMA_xooooooooooooooo
1411 _Z1KMMMMMMMMMMMMMMMA_xooooooooooooooo
1413 _ZdvMMMMMMMMMMMMMrrrrA_DTdvfp_fp_Eededilfdfdfdfd
1414 _ZdvMMMMMMMMMMMMMrrrrA_DTdvfp_fp_Eededilfdfdfdfd
1416 # Test for Infinite Recursion PR70909
1418 _Z1MA_aMMMMA_MMA_MMMMMMMMSt1MS_o11T0000000000t2M0oooozoooo
1419 _Z1MA_aMMMMA_MMA_MMMMMMMMSt1MS_o11T0000000000t2M0oooozoooo
1421 # demangler/80513 Test for overflow in d_number
1423 _Z4294967297x
1424 _Z4294967297x
1426 # demangler/82195 members of lambdas
1427 --no-params
1428 _ZZZ3FoovENKUlT_E_clIiEEfS_EN5Local2fnEv
1429 Foo()::{lambda(auto:1)#1}::operator()<int>(int) const::Local::fn()
1430 Foo()::{lambda(auto:1)#1}::operator()<int>(int) const::Local::fn
1431 --no-params
1432 _Z7CaptureIZZ3FoovENKUlT_E_clIiEEvS0_EUlvE_EvOS0_
1433 void Capture<Foo()::{lambda(auto:1)#1}::operator()<int>(int) const::{lambda()#1}>(Foo()::{lambda(auto:1)#1}::operator()<int>(int) const::{lambda()#1}&&)
1434 Capture<Foo()::{lambda(auto:1)#1}::operator()<int>(int) const::{lambda()#1}>
1435 --no-params
1436 _Z4FrobIZZ3FoovENKUlT_E_clIiEEvS0_EUlvE_Evv
1437 void Frob<Foo()::{lambda(auto:1)#1}::operator()<int>(int) const::{lambda()#1}>()
1438 Frob<Foo()::{lambda(auto:1)#1}::operator()<int>(int) const::{lambda()#1}>
1439 # A lambda {local-class::member-fn}
1440 --no-params
1441 _ZZ3FoovENKUlT_E_clIiEEfS_
1442 float Foo()::{lambda(auto:1)#1}::operator()<int>(int) const
1443 Foo()::{lambda(auto:1)#1}::operator()<int>
1444 # template-fn {local-class::member-fn}
1445 --no-params
1446 _ZZ3FooIiEfvEN1X2fnEv
1447 Foo<int>()::X::fn()
1448 Foo<int>()::X::fn
1449 # template-fn generic-lambda local-class::member-fn
1450 --no-params
1451 _ZZZ3FooIiEfvENKUlT_E_clIcEEDaS0_EN1X2fnEv
1452 Foo<int>()::{lambda(auto:1)#1}::operator()<char>(char) const::X::fn()
1453 Foo<int>()::{lambda(auto:1)#1}::operator()<char>(char) const::X::fn
1454 #PR91979 demangling nullptr expression
1456 _Z3fooILPv0EEvPN9enable_ifIXeqT_LDnEEvE4typeE
1457 void foo<(void*)0>(enable_if<((void*)0)==(decltype(nullptr)), void>::type*)
1459 _ZNK5coro15emptyawEv
1460 coro1::empty::operator co_await() const
1462 _ZNK3FoossERKS_
1463 Foo::operator<=>(Foo const&) const
1465 _Z1f1AIXtl1Udi1iLi0EEEE
1466 f(A<U{.i=(0)}>)
1468 _Z1f1AIXtl1Xdi1adi1bdxLi3ELi1EEEE
1469 f(A<X{.a.b[3]=(1)}>)
1471 _Z1f1AIXtl1Xdi1adi1bdXLi3ELi4ELi1EEEE
1472 f(A<X{.a.b[3 ... 4]=(1)}>)
1474 # PR 96143
1475 _Z2F2IZ1FvEUlvE_EN1AIT_E1XES2_
1476 A<F()::{lambda()#1}>::X F2<F()::{lambda()#1}>(F()::{lambda()#1})
1478 # PR 88115
1479 _Z1fIiEvDTu11__alignof__T_EE
1480 void f<int>(decltype (__alignof__(int)))
1482 _Z1fIiEvDTu11__alignof__XtlT_EEEE
1483 void f<int>(decltype (__alignof__(int{})))
1485 _Z1gI1AEv1SIXadsrT_oncviEE
1486 void g<A>(S<&A::operator int>)
1488 _Z1jI1AEDTcldtfp_oncvPT_EES1_
1489 decltype (({parm#1}.(operator A*))()) j<A>(A)
1491 _Z1fI1AEDtdtfp_srT_1xES1_
1492 decltype ({parm#1}.A::x) f<A>(A)
1494 _Z2f6IP1AEDtptfp_gssr1A1BE1xET_
1495 decltype ({parm#1}->(::A::B::x)) f6<A*>(A*)