/thirdparty/breakpad/third_party/glog/src/demangle_unittest.txt

http://github.com/tomahawk-player/tomahawk · Plain Text · 137 lines · 126 code · 11 blank · 0 comment · 0 complexity · 06f05197694a44fc548c9091c8c3b795 MD5 · raw file

  1. # Test caces for demangle_unittest. Each line consists of a
  2. # tab-separated pair of mangled and demangled symbol names.
  3. # Constructors and destructors.
  4. _ZN3FooC1Ev Foo::Foo()
  5. _ZN3FooD1Ev Foo::~Foo()
  6. _ZNSoD0Ev std::ostream::~ostream()
  7. # G++ extensions.
  8. _ZTCN10LogMessage9LogStreamE0_So LogMessage::LogStream
  9. _ZTv0_n12_N10LogMessage9LogStreamD0Ev LogMessage::LogStream::~LogStream()
  10. _ZThn4_N7icu_3_410UnicodeSetD0Ev icu_3_4::UnicodeSet::~UnicodeSet()
  11. # A bug in g++'s C++ ABI version 2 (-fabi-version=2).
  12. _ZN7NSSInfoI5groupjjXadL_Z10getgrgid_rEELZ19nss_getgrgid_r_nameEEC1Ei NSSInfo<>::NSSInfo()
  13. # C linkage symbol names. Should keep them untouched.
  14. main main
  15. Demangle Demangle
  16. _ZERO _ZERO
  17. # Cast operator.
  18. _Zcviv operator int()
  19. _ZN3foocviEv foo::operator int()
  20. # Versioned symbols.
  21. _Z3Foo@GLIBCXX_3.4 Foo@GLIBCXX_3.4
  22. _Z3Foo@@GLIBCXX_3.4 Foo@@GLIBCXX_3.4
  23. # Abbreviations.
  24. _ZNSaE std::allocator
  25. _ZNSbE std::basic_string
  26. _ZNSdE std::iostream
  27. _ZNSiE std::istream
  28. _ZNSoE std::ostream
  29. _ZNSsE std::string
  30. # Substitutions. We just replace them with ?.
  31. _ZN3fooS_E foo::?
  32. _ZN3foo3barS0_E foo::bar::?
  33. _ZNcvT_IiEEv operator ?<>()
  34. # "<< <" case.
  35. _ZlsI3fooE operator<< <>
  36. # Random things we found interesting.
  37. _ZN3FooISt6vectorISsSaISsEEEclEv Foo<>::operator()()
  38. _ZTI9Callback1IiE Callback1<>
  39. _ZN7icu_3_47UMemorynwEj icu_3_4::UMemory::operator new()
  40. _ZNSt6vectorIbE9push_backE std::vector<>::push_back
  41. _ZNSt6vectorIbSaIbEE9push_backEb std::vector<>::push_back()
  42. _ZlsRSoRK15PRIVATE_Counter operator<<()
  43. _ZSt6fill_nIPPN9__gnu_cxx15_Hashtable_nodeISt4pairIKPKcjEEEjS8_ET_SA_T0_RKT1_ std::fill_n<>()
  44. _ZZ3FoovE3Bar Foo()::Bar
  45. _ZGVZ7UpTimervE8up_timer UpTimer()::up_timer
  46. # Test cases from gcc-4.1.0/libstdc++-v3/testsuite/demangle.
  47. # Collected by:
  48. # % grep verify_demangle **/*.cc | perl -nle 'print $1 if /"(_Z.*?)"/' |
  49. # sort | uniq
  50. #
  51. # Note that the following symbols are invalid.
  52. # That's why they are not demangled.
  53. # - _ZNZN1N1fEiE1X1gE
  54. # - _ZNZN1N1fEiE1X1gEv
  55. # - _Z1xINiEE
  56. _Z1fA37_iPS_ f()
  57. _Z1fAszL_ZZNK1N1A1fEvE3foo_0E_i f()
  58. _Z1fI1APS0_PKS0_EvT_T0_T1_PA4_S3_M1CS8_ f<>()
  59. _Z1fI1XENT_1tES2_ f<>()
  60. _Z1fI1XEvPVN1AIT_E1TE f<>()
  61. _Z1fILi1ELc120EEv1AIXplT_cviLd4028ae147ae147aeEEE f<>()
  62. _Z1fILi1ELc120EEv1AIXplT_cviLf3f800000EEE f<>()
  63. _Z1fILi5E1AEvN1CIXqugtT_Li0ELi1ELi2EEE1qE f<>()
  64. _Z1fILi5E1AEvN1CIXstN1T1tEEXszsrS2_1tEE1qE f<>()
  65. _Z1fILi5EEvN1AIXcvimlT_Li22EEE1qE f<>()
  66. _Z1fIiEvi f<>()
  67. _Z1fKPFiiE f()
  68. _Z1fM1AFivEPS0_ f()
  69. _Z1fM1AKFivE f()
  70. _Z1fM1AKFvvE f()
  71. _Z1fPFPA1_ivE f()
  72. _Z1fPFYPFiiEiE f()
  73. _Z1fPFvvEM1SFvvE f()
  74. _Z1fPKM1AFivE f()
  75. _Z1fi f()
  76. _Z1fv f()
  77. _Z1jM1AFivEPS1_ j()
  78. _Z1rM1GFivEMS_KFivES_M1HFivES1_4whatIKS_E5what2IS8_ES3_ r()
  79. _Z1sPA37_iPS0_ s()
  80. _Z1xINiEE _Z1xINiEE
  81. _Z3absILi11EEvv abs<>()
  82. _Z3foo3bar foo()
  83. _Z3foo5Hello5WorldS0_S_ foo()
  84. _Z3fooA30_A_i foo()
  85. _Z3fooIA6_KiEvA9_KT_rVPrS4_ foo<>()
  86. _Z3fooILi2EEvRAplT_Li1E_i foo<>()
  87. _Z3fooIiFvdEiEvv foo<>()
  88. _Z3fooPM2ABi foo()
  89. _Z3fooc foo()
  90. _Z3fooiPiPS_PS0_PS1_PS2_PS3_PS4_PS5_PS6_PS7_PS8_PS9_PSA_PSB_PSC_ foo()
  91. _Z3kooPA28_A30_i koo()
  92. _Z4makeI7FactoryiET_IT0_Ev make<>()
  93. _Z5firstI3DuoEvS0_ first<>()
  94. _Z5firstI3DuoEvT_ first<>()
  95. _Z9hairyfuncM1YKFPVPFrPA2_PM1XKFKPA3_ilEPcEiE hairyfunc()
  96. _ZGVN5libcw24_GLOBAL__N_cbll.cc0ZhUKa23compiler_bug_workaroundISt6vectorINS_13omanip_id_tctINS_5debug32memblk_types_manipulator_data_ctEEESaIS6_EEE3idsE libcw::(anonymous namespace)::compiler_bug_workaround<>::ids
  97. _ZN12libcw_app_ct10add_optionIS_EEvMT_FvPKcES3_cS3_S3_ libcw_app_ct::add_option<>()
  98. _ZN1AIfEcvT_IiEEv A<>::operator ?<>()
  99. _ZN1N1TIiiE2mfES0_IddE N::T<>::mf()
  100. _ZN1N1fE N::f
  101. _ZN1f1fE f::f
  102. _ZN3FooIA4_iE3barE Foo<>::bar
  103. _ZN5Arena5levelE Arena::level
  104. _ZN5StackIiiE5levelE Stack<>::level
  105. _ZN5libcw5debug13cwprint_usingINS_9_private_12GlobalObjectEEENS0_17cwprint_using_tctIT_EERKS5_MS5_KFvRSt7ostreamE libcw::debug::cwprint_using<>()
  106. _ZN6System5Sound4beepEv System::Sound::beep()
  107. _ZNKSt14priority_queueIP27timer_event_request_base_ctSt5dequeIS1_SaIS1_EE13timer_greaterE3topEv std::priority_queue<>::top()
  108. _ZNKSt15_Deque_iteratorIP15memory_block_stRKS1_PS2_EeqERKS5_ std::_Deque_iterator<>::operator==()
  109. _ZNKSt17__normal_iteratorIPK6optionSt6vectorIS0_SaIS0_EEEmiERKS6_ std::__normal_iterator<>::operator-()
  110. _ZNSbIcSt11char_traitsIcEN5libcw5debug27no_alloc_checking_allocatorEE12_S_constructIPcEES6_T_S7_RKS3_ std::basic_string<>::_S_construct<>()
  111. _ZNSt13_Alloc_traitsISbIcSt18string_char_traitsIcEN5libcw5debug9_private_17allocator_adaptorIcSt24__default_alloc_templateILb0ELi327664EELb1EEEENS5_IS9_S7_Lb1EEEE15_S_instancelessE std::_Alloc_traits<>::_S_instanceless
  112. _ZNSt3_In4wardE std::_In::ward
  113. _ZNZN1N1fEiE1X1gE _ZNZN1N1fEiE1X1gE
  114. _ZNZN1N1fEiE1X1gEv _ZNZN1N1fEiE1X1gEv
  115. _ZSt1BISt1DIP1ARKS2_PS3_ES0_IS2_RS2_PS2_ES2_ET0_T_SB_SA_PT1_ std::B<>()
  116. _ZSt5state std::state
  117. _ZTI7a_class a_class
  118. _ZZN1N1fEiE1p N::f()::p
  119. _ZZN1N1fEiEs N::f()
  120. _ZlsRK1XS1_ operator<<()
  121. _ZlsRKU3fooU4bart1XS0_ operator<<()
  122. _ZlsRKU3fooU4bart1XS2_ operator<<()
  123. _ZlsRSoRKSs operator<<()
  124. _ZngILi42EEvN1AIXplT_Li2EEE1TE operator-<>()
  125. _ZplR1XS0_ operator+()
  126. _Zrm1XS_ operator%()