# Copyright (C) 1992-2017 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # This file was written by Fred Fish. (fnf@cygnus.com) if { [skip_cplus_tests] } { continue } ### The demangling style we last sent to GDB. set current_demangling_style none ### Set GDB's current demangling style to STYLE. Subsequent calls to ### test_demangle will include STYLE in the test name when reporting ### passes and failures. proc set_demangling_style {style} { global gdb_prompt global current_demangling_style gdb_test_multiple "set demangle-style $style" \ "$style: set demangle-style" { -re "set demangle-style $style\[\r\n\]+$gdb_prompt $" { pass "$style: set demangle-style" } -re ".*$gdb_prompt $" { fail "$style: set demangle-style" error "set_demangling_style: set style" } timeout { fail "$style: set demangle-style (timeout)" error "set_demangling_style: set style" } } gdb_test_multiple "show demangle-style" \ "$style: check demangling style" { -re "The current C\[+\]+ demangling style is \"$style\".\r\n$gdb_prompt $" { pass "$style: check demangling style" } -re ".*$gdb_prompt $" { fail "$style: check demangling style" error "set_demangling_style: check style" } timeout { fail "$style: check demangling style (timeout)" error "set_demangling_style: check style" } } set current_demangling_style $style } ### Utility function for test_demangling and test_demangling_exact. proc test_demangling_core {tester test result} { global current_demangling_style if {! [regexp {^([^ ]+): (.+)$} $test dummy style name]} { error "bad test name passed to test_demangling" } if {[string compare $style $current_demangling_style]} { set_demangling_style $style } $tester "demangle $name" $result $test } ### Demangle an identifier, and check that the result matches a pattern. ### ### TEST should be of the form "STYLE: NAME", where STYLE is the name ### of a demangling style (like "gnu" or "arm"), and NAME is a mangled ### identifier to demangle. Pass when the result matches the regular ### expression RESULT. Report passes and fails using TEST as the name ### of the test. ### ### Why don't we just pass the STYLE and NAME as two separate ### arguments, or let the style be a global variable? That would be ### cleaner. However, doing it this way means that: ### ### 1) the name of the test, as recorded in the summary and log, ### appears verbatim in the script, and ### ### 2) that test names are unique, even though we try to demangle the same ### identifiers using several different mangling styles. ### ### This makes it a lot easier for people tracking down failures to ### find the one they care about. proc test_demangling {test result} { test_demangling_core gdb_test $test $result } ### Like test_demangling, above, except that RESULT is not a regexp, ### but a string that must match exactly. proc test_demangling_exact {test result} { test_demangling_core gdb_test_exact $test $result } # # Test gnu style name demangling # proc test_gnu_style_demangling {} { global gdb_prompt test_demangling "gnu: Abort__FP6EditoriPCc" \ "Abort\[(\]+Editor \[*\]+, int, (const char|char const) \[*\]+\[)\]+" test_demangling_exact "gnu: AddAlignment__9ivTSolverUiP12ivInteractorP7ivTGlue" "ivTSolver::AddAlignment(unsigned int, ivInteractor *, ivTGlue *)" test_demangling "gnu: Append__15NameChooserViewPCc" \ "NameChooserView::Append\[(\]+(const char|char const) \[*\]+\[)\]+" test_demangling_exact "gnu: ArrowheadIntersects__9ArrowLineP9ArrowheadR6BoxObjP7Graphic" "ArrowLine::ArrowheadIntersects(Arrowhead *, BoxObj &, Graphic *)" test_demangling_exact "gnu: AtEnd__13ivRubberGroup" "ivRubberGroup::AtEnd(void)" test_demangling_exact "gnu: BgFilter__9ivTSolverP12ivInteractor" "ivTSolver::BgFilter(ivInteractor *)" test_demangling "gnu: BitPatterntoa__FRC10BitPatternccc" \ "BitPatterntoa\[(\]+(const BitPattern|BitPattern const) &, char, char, char\[)\]+" test_demangling_exact "gnu: Check__6UArrayi" "UArray::Check(int)" test_demangling_exact "gnu: CoreConstDecls__8TextCodeR7ostream" "TextCode::CoreConstDecls(ostream &)" test_demangling_exact "gnu: Detach__8StateVarP12StateVarView" "StateVar::Detach(StateVarView *)" test_demangling_exact "gnu: Done__9ComponentG8Iterator" "Component::Done(Iterator)" test_demangling "gnu: DrawDestinationTransformedImage__FP7_XImageiiT0iiUlUiiiUiUlUlP4_XGCRC13ivTransformeriiii" \ "DrawDestinationTransformedImage\[(\]+_XImage \[*\]+, int, int, _XImage \[*\]+, int, int, unsigned long, unsigned int, int, int, unsigned int, unsigned long, unsigned long, _XGC \[*\]+, (const ivTransformer|ivTransformer const) &, int, int, int, int\[)\]+" test_demangling "gnu: Edit__12StringEditorPCcii" \ "StringEditor::Edit\[(\]+(const char|char const) \[*\]+, int, int\[)\]+" test_demangling_exact "gnu: Effect__11RelateManipR7ivEvent" "RelateManip::Effect(ivEvent &)" test_demangling "gnu: FilterName__FPCc" \ "FilterName\[(\]+(const char|char const) \[*\]+\[)\]+" test_demangling "gnu: Filter__6PSTextPCci" \ "PSText::Filter\[(\]+(const char|char const) \[*\]+, int\[)\]+" test_demangling "gnu: FindColor__7CatalogPCciii" \ "Catalog::FindColor\[(\]+(const char|char const) \[*\]+, int, int, int\[)\]+" test_demangling_exact "gnu: FindFixed__FRP4CNetP4CNet" "FindFixed(CNet *&, CNet *)" test_demangling "gnu: FindFont__7CatalogPCcN21" \ "Catalog::FindFont\[(\]+(const char|char const) \[*\]+, (const char|char const) \[*\]+, (const char|char const) \[*\]+\[)\]+" test_demangling_exact "gnu: Fix48_abort__FR8twolongs" "Fix48_abort(twolongs &)" test_demangling_exact "gnu: GetBarInfo__15iv2_6_VScrollerP13ivPerspectiveRiT2" "iv2_6_VScroller::GetBarInfo(ivPerspective *, int &, int &)" test_demangling_exact "gnu: GetBgColor__C9ivPainter" "ivPainter::GetBgColor(void) const" test_demangling "gnu: Iisdouble__FPC6IntRep" \ "Iisdouble\[(\]+(const IntRep|IntRep const) \[*\]+\[)\]+" test_demangling_exact "gnu: InsertBody__15H_PullrightMenuii" "H_PullrightMenu::InsertBody(int, int)" test_demangling_exact "gnu: InsertCharacter__9TextManipc" "TextManip::InsertCharacter(char)" test_demangling_exact "gnu: InsertToplevel__7ivWorldP12ivInteractorT1" "ivWorld::InsertToplevel(ivInteractor *, ivInteractor *)" test_demangling_exact "gnu: InsertToplevel__7ivWorldP12ivInteractorT1iiUi" "ivWorld::InsertToplevel(ivInteractor *, ivInteractor *, int, int, unsigned int)" test_demangling "gnu: IsADirectory__FPCcR4stat" \ "IsADirectory\[(\]+(const char|char const) \[*\]+, stat &\[)\]+" test_demangling_exact "gnu: IsAGroup__FP11GraphicViewP11GraphicComp" "IsAGroup(GraphicView *, GraphicComp *)" test_demangling_exact "gnu: IsA__10ButtonCodeUl" "ButtonCode::IsA(unsigned long)" test_demangling_exact "gnu: ReadName__FR7istreamPc" "ReadName(istream &, char *)" test_demangling_exact "gnu: Redraw__13StringBrowseriiii" "StringBrowser::Redraw(int, int, int, int)" test_demangling_exact "gnu: Rotate__13ivTransformerf" "ivTransformer::Rotate(float)" test_demangling_exact "gnu: Rotated__C13ivTransformerf" "ivTransformer::Rotated(float) const" test_demangling_exact "gnu: Round__Ff" "Round(float)" test_demangling_exact "gnu: SetExport__16MemberSharedNameUi" "MemberSharedName::SetExport(unsigned int)" test_demangling_exact "gnu: Set__14ivControlState13ControlStatusUi" "ivControlState::Set(ControlStatus, unsigned int)" test_demangling_exact "gnu: Set__5DFacePcii" "DFace::Set(char *, int, int)" test_demangling_exact "gnu: VConvert__9ivTSolverP12ivInteractorRP8TElementT2" "ivTSolver::VConvert(ivInteractor *, TElement *&, TElement *&)" test_demangling_exact "gnu: VConvert__9ivTSolverP7ivTGlueRP8TElement" "ivTSolver::VConvert(ivTGlue *, TElement *&)" test_demangling_exact "gnu: VOrder__9ivTSolverUiRP12ivInteractorT2" "ivTSolver::VOrder(unsigned int, ivInteractor *&, ivInteractor *&)" test_demangling "gnu: Valid__7CatalogPCcRP4Tool" \ "Catalog::Valid\[(\]+(const char|char const) \[*\]+, Tool \[*\]+&\[)\]+" test_demangling_exact "gnu: _10PageButton\$__both" "PageButton::__both" test_demangling_exact "gnu: _3RNG\$singleMantissa" "RNG::singleMantissa" test_demangling_exact "gnu: _5IComp\$_release" "IComp::_release" test_demangling_exact "gnu: _\$_10BitmapComp" "BitmapComp::~BitmapComp(void)" test_demangling_exact "gnu: _\$_9__io_defs" "__io_defs::~__io_defs(void)" test_demangling_exact "gnu: _\$_Q23foo3bar" "foo::bar::~bar(void)" test_demangling_exact "gnu: _\$_Q33foo3bar4bell" "foo::bar::bell::~bell(void)" test_demangling_exact "gnu: __10ivTelltaleiP7ivGlyph" "ivTelltale::ivTelltale(int, ivGlyph *)" test_demangling_exact "gnu: __10ivViewportiP12ivInteractorUi" "ivViewport::ivViewport(int, ivInteractor *, unsigned int)" test_demangling_exact "gnu: __10ostrstream" "ostrstream::ostrstream(void)" test_demangling_exact "gnu: __10ostrstreamPcii" "ostrstream::ostrstream(char *, int, int)" test_demangling "gnu: __11BasicDialogiPCcP13ivButtonStateN22Ui" \ "BasicDialog::BasicDialog\[(\]+int, (const char|char const) \[*\]+, ivButtonState \[*\]+, (const char|char const) \[*\]+, (const char|char const) \[*\]+, unsigned int\[)\]+" test_demangling_exact "gnu: __11BitmapTablei" "BitmapTable::BitmapTable(int)" test_demangling_exact "gnu: __12ViewportCodeP12ViewportComp" "ViewportCode::ViewportCode(ViewportComp *)" test_demangling "gnu: __12iv2_6_BorderiPCci" \ "iv2_6_Border::iv2_6_Border\[(\]+int, (const char|char const) \[*\]+, int\[)\]+" test_demangling_exact "gnu: __12iv2_6_Borderii" "iv2_6_Border::iv2_6_Border(int, int)" test_demangling "gnu: __12ivBackgroundiP7ivGlyphPC7ivColor" \ "ivBackground::ivBackground\[(\]+int, ivGlyph \[*\]+, (const ivColor|ivColor const) \[*\]+\[)\]+" test_demangling_exact "gnu: __12ivBreak_Listl" "ivBreak_List::ivBreak_List(long)" test_demangling "gnu: __14TextInteractoriPCcUi" \ "TextInteractor::TextInteractor\[(\]+int, (const char|char const) \[*\]+, unsigned int\[)\]+" test_demangling_exact "gnu: __14iv2_6_MenuItemiP12ivInteractor" "iv2_6_MenuItem::iv2_6_MenuItem(int, ivInteractor *)" test_demangling "gnu: __14iv2_6_MenuItemiPCcP12ivInteractor" \ "iv2_6_MenuItem::iv2_6_MenuItem\[(\]+int, (const char|char const) \[*\]+, ivInteractor \[*\]+\[)\]+" test_demangling_exact "gnu: __20DisplayList_IteratorR11DisplayList" "DisplayList_Iterator::DisplayList_Iterator(DisplayList &)" test_demangling_exact "gnu: __3fooRT0" "foo::foo(foo &)" test_demangling_exact "gnu: __3fooiN31" "foo::foo(int, int, int, int)" test_demangling "gnu: __3fooiPCc" \ "foo::foo\[(\]+int, (const char|char const) \[*\]+\[)\]+" test_demangling_exact "gnu: __3fooiRT0iT2iT2" "foo::foo(int, foo &, int, foo &, int, foo &)" test_demangling "gnu: __6GetOptiPPcPCc" \ "GetOpt::GetOpt\[(\]+int, char \[*\]+\[*\]+, (const char|char const) \[*\]+\[)\]+" test_demangling_exact "gnu: __6KeyMapPT0" "KeyMap::KeyMap(KeyMap *)" test_demangling "gnu: __7ivWorldPCcRiPPcPC12ivOptionDescPC14ivPropertyData" \ "ivWorld::ivWorld\[(\]+(const char|char const) \[*\]+, int &, char \[*\]+\[*\]+, (const ivOptionDesc|ivOptionDesc const) \[*\]+, (const ivPropertyData|ivPropertyData const) \[*\]+\[)\]+" test_demangling "gnu: __7procbufPCci" \ "procbuf::procbuf\[(\]+(const char|char const) \[*\]+, int\[)\]+" test_demangling_exact "gnu: __8ArrowCmdP6EditorUiUi" "ArrowCmd::ArrowCmd(Editor *, unsigned int, unsigned int)" test_demangling_exact "gnu: __9F_EllipseiiiiP7Graphic" "F_Ellipse::F_Ellipse(int, int, int, int, Graphic *)" test_demangling_exact "gnu: __9FrameDataP9FrameCompi" "FrameData::FrameData(FrameComp *, int)" test_demangling_exact "gnu: __9HVGraphicP9CanvasVarP7Graphic" "HVGraphic::HVGraphic(CanvasVar *, Graphic *)" test_demangling_exact "gnu: __Q23foo3bar" "foo::bar::bar(void)" test_demangling_exact "gnu: __Q33foo3bar4bell" "foo::bar::bell::bell(void)" test_demangling_exact "gnu: __aa__3fooRT0" "foo::operator&&(foo &)" test_demangling_exact "gnu: __aad__3fooRT0" "foo::operator&=(foo &)" test_demangling_exact "gnu: __ad__3fooRT0" "foo::operator&(foo &)" test_demangling_exact "gnu: __adv__3fooRT0" "foo::operator/=(foo &)" test_demangling_exact "gnu: __aer__3fooRT0" "foo::operator^=(foo &)" test_demangling_exact "gnu: __als__3fooRT0" "foo::operator<<=(foo &)" test_demangling_exact "gnu: __amd__3fooRT0" "foo::operator%=(foo &)" test_demangling_exact "gnu: __ami__3fooRT0" "foo::operator-=(foo &)" test_demangling_exact "gnu: __aml__3FixRT0" "Fix::operator*=(Fix &)" test_demangling_exact "gnu: __aml__5Fix16i" "Fix16::operator*=(int)" test_demangling_exact "gnu: __aml__5Fix32RT0" "Fix32::operator*=(Fix32 &)" test_demangling_exact "gnu: __aor__3fooRT0" "foo::operator|=(foo &)" test_demangling_exact "gnu: __apl__3fooRT0" "foo::operator+=(foo &)" test_demangling_exact "gnu: __ars__3fooRT0" "foo::operator>>=(foo &)" test_demangling_exact "gnu: __as__3fooRT0" "foo::operator=(foo &)" test_demangling_exact "gnu: __cl__3fooRT0" "foo::operator()(foo &)" test_demangling_exact "gnu: __cl__6Normal" "Normal::operator()(void)" test_demangling_exact "gnu: __cl__6Stringii" "String::operator()(int, int)" test_demangling_exact "gnu: __cm__3fooRT0" "foo::operator, (foo &)" test_demangling_exact "gnu: __co__3foo" "foo::operator~(void)" test_demangling_exact "gnu: __dl__3fooPv" "foo::operator delete(void *)" test_demangling_exact "gnu: __dv__3fooRT0" "foo::operator/(foo &)" test_demangling_exact "gnu: __eq__3fooRT0" "foo::operator==(foo &)" test_demangling_exact "gnu: __er__3fooRT0" "foo::operator^(foo &)" test_demangling_exact "gnu: __ge__3fooRT0" "foo::operator>=(foo &)" test_demangling_exact "gnu: __gt__3fooRT0" "foo::operator>(foo &)" test_demangling_exact "gnu: __le__3fooRT0" "foo::operator<=(foo &)" test_demangling_exact "gnu: __ls__3fooRT0" "foo::operator<<(foo &)" test_demangling_exact "gnu: __ls__FR7ostreamPFR3ios_R3ios" "operator<<(ostream &, ios &(*)(ios &))" test_demangling_exact "gnu: __ls__FR7ostreamR3Fix" "operator<<(ostream &, Fix &)" test_demangling_exact "gnu: __lt__3fooRT0" "foo::operator<(foo &)" test_demangling_exact "gnu: __md__3fooRT0" "foo::operator%(foo &)" test_demangling_exact "gnu: __mi__3fooRT0" "foo::operator-(foo &)" test_demangling_exact "gnu: __ml__3fooRT0" "foo::operator*(foo &)" test_demangling_exact "gnu: __mm__3fooi" "foo::operator--(int)" test_demangling_exact "gnu: __ne__3fooRT0" "foo::operator!=(foo &)" test_demangling "gnu: __ne__FRC7ComplexT0" \ "operator!=\[(\]+(const Complex|Complex const) &, (const Complex|Complex const) &\[)\]+" test_demangling "gnu: __ne__FRC7Complexd" \ "operator!=\[(\]+(const Complex|Complex const) &, double\[)\]+" test_demangling "gnu: __ne__FRC9SubStringRC6String" \ "operator!=\[(\]+(const SubString|SubString const) &, (const String|String const) &\[)\]+" test_demangling_exact "gnu: __nt__3foo" "foo::operator!(void)" test_demangling_exact "gnu: __nw__3fooi" "foo::operator new(int)" test_demangling_exact "gnu: __oo__3fooRT0" "foo::operator||(foo &)" test_demangling_exact "gnu: __opPc__3foo" "foo::operator char *(void)" test_demangling_exact "gnu: __opi__3foo" "foo::operator int(void)" test_demangling_exact "gnu: __or__3fooRT0" "foo::operator|(foo &)" test_demangling_exact "gnu: __pl__3fooRT0" "foo::operator+(foo &)" test_demangling_exact "gnu: __pp__3fooi" "foo::operator++(int)" test_demangling_exact "gnu: __rf__3foo" "foo::operator->(void)" test_demangling_exact "gnu: __rm__3fooRT0" "foo::operator->*(foo &)" test_demangling_exact "gnu: __rs__3fooRT0" "foo::operator>>(foo &)" test_demangling "gnu: __vc__3fooRT0" "foo::operator\\\[\\\]\\(foo &\\)" test_demangling "gnu: _gsub__6StringRC5RegexPCci" \ "String::_gsub\[(\]+(const Regex|Regex const) &, (const char|char const) \[*\]+, int\[)\]+" test_demangling_exact "gnu: _new_Fix__FUs" "_new_Fix(unsigned short)" # gcc 2.4.5 (and earlier) style virtual tables. We want to continue to # correctly demangle these even if newer compilers use a different form. test_demangling_exact "gnu: _vt.foo" "foo virtual table" test_demangling_exact "gnu: _vt.foo.bar" "foo::bar virtual table" test_demangling_exact "gnu: _vt\$foo" "foo virtual table" test_demangling_exact "gnu: _vt\$foo\$bar" "foo::bar virtual table" test_demangling_exact "gnu: append__7ivGlyphPT0" "ivGlyph::append(ivGlyph *)" test_demangling "gnu: arg__FRC7Complex" \ "arg\[(\]+(const Complex|Complex const) &\[)\]+" test_demangling_exact "gnu: clearok__FP7_win_sti" "clearok(_win_st *, int)" test_demangling_exact "gnu: complexfunc2__FPFPc_i" "complexfunc2(int (*)(char *))" test_demangling_exact "gnu: complexfunc3__FPFPFPl_s_i" "complexfunc3(int (*)(short (*)(long *)))" test_demangling_exact "gnu: complexfunc4__FPFPFPc_s_i" "complexfunc4(int (*)(short (*)(char *)))" test_demangling_exact "gnu: complexfunc5__FPFPc_PFl_i" "complexfunc5(int (*(*)(char *))(long))" test_demangling_exact "gnu: complexfunc6__FPFPi_PFl_i" "complexfunc6(int (*(*)(int *))(long))" test_demangling_exact "gnu: complexfunc7__FPFPFPc_i_PFl_i" "complexfunc7(int (*(*)(int (*)(char *)))(long))" test_demangling "gnu: contains__C9BitStringRC10BitPattern" \ "BitString::contains\[(\]+(const BitPattern|BitPattern const) &\[)\]+ const" test_demangling "gnu: contains__C9BitStringRC12BitSubStringi" \ "BitString::contains\[(\]+(const BitSubString|BitSubString const) &, int\[)\]+ const" test_demangling "gnu: contains__C9BitStringRT0" \ "BitString::contains\[(\]+(const BitString|BitString const) &\[)\]+ const" test_demangling "gnu: div__FPC6IntRepT0P6IntRep" \ "div\[(\]+(const IntRep|IntRep const) \[*\]+, (const IntRep|IntRep const) \[*\]+, IntRep \[*\]+\[)\]+" test_demangling "gnu: div__FPC6IntReplP6IntRep" \ "div\[(\]+(const IntRep|IntRep const) \[*\]+, long, IntRep \[*\]+\[)\]+" test_demangling "gnu: div__FRC8RationalT0R8Rational" \ "div\[(\]+(const Rational|Rational const) &, (const Rational|Rational const) &, Rational &\[)\]+" test_demangling "gnu: divide__FRC7IntegerT0R7IntegerT2" \ "divide\[(\]+(const Integer|Integer const) &, (const Integer|Integer const) &, Integer &, Integer &\[)\]+" test_demangling "gnu: divide__FRC7IntegerlR7IntegerRl" \ "divide\[(\]+(const Integer|Integer const) &, long, Integer &, long &\[)\]+" test_demangling "gnu: enable__14DocumentViewerPCcUi" \ "DocumentViewer::enable\[(\]+(const char|char const) \[*\]+, unsigned int\[)\]+" test_demangling_exact "gnu: foo__FiN30" "foo(int, int, int, int)" test_demangling_exact "gnu: foo__FiR3fooiT1iT1" "foo(int, foo &, int, foo &, int, foo &)" test_demangling_exact "gnu: foo___3barl" "bar::foo_(long)" test_demangling_exact "gnu: insert__15ivClippingStacklRP8_XRegion" "ivClippingStack::insert(long, _XRegion *&)" test_demangling_exact "gnu: insert__16ChooserInfo_ListlR11ChooserInfo" "ChooserInfo_List::insert(long, ChooserInfo &)" test_demangling_exact "gnu: insert__17FontFamilyRepListlRP15ivFontFamilyRep" "FontFamilyRepList::insert(long, ivFontFamilyRep *&)" test_demangling_exact "gnu: leaveok__FP7_win_stc" "leaveok(_win_st *, char)" test_demangling_exact "gnu: left_mover__C7ivMFKitP12ivAdjustableP7ivStyle" "ivMFKit::left_mover(ivAdjustable *, ivStyle *) const" test_demangling "gnu: matches__C9BitStringRC10BitPatterni" \ "BitString::matches\[(\]+(const BitPattern|BitPattern const) &, int\[)\]+ const" test_demangling "gnu: matches__C9SubStringRC5Regex" \ "SubString::matches\[(\]+(const Regex|Regex const) &\[)\]+ const" test_demangling_exact "gnu: overload1arg__FSc" "overload1arg(signed char)" test_demangling_exact "gnu: overload1arg__FUc" "overload1arg(unsigned char)" test_demangling_exact "gnu: overload1arg__FUi" "overload1arg(unsigned int)" test_demangling_exact "gnu: overload1arg__FUl" "overload1arg(unsigned long)" test_demangling_exact "gnu: overload1arg__FUs" "overload1arg(unsigned short)" test_demangling_exact "gnu: overload1arg__Fc" "overload1arg(char)" test_demangling_exact "gnu: overload1arg__Fd" "overload1arg(double)" test_demangling_exact "gnu: overload1arg__Ff" "overload1arg(float)" test_demangling_exact "gnu: overload1arg__Fi" "overload1arg(int)" test_demangling_exact "gnu: overload1arg__Fl" "overload1arg(long)" test_demangling_exact "gnu: overload1arg__Fs" "overload1arg(short)" test_demangling_exact "gnu: overload1arg__Fv" "overload1arg(void)" test_demangling_exact "gnu: overloadargs__Fi" "overloadargs(int)" test_demangling_exact "gnu: overloadargs__Fii" "overloadargs(int, int)" test_demangling_exact "gnu: overloadargs__Fiii" "overloadargs(int, int, int)" test_demangling_exact "gnu: overloadargs__Fiiii" "overloadargs(int, int, int, int)" test_demangling_exact "gnu: overloadargs__Fiiiii" "overloadargs(int, int, int, int, int)" test_demangling_exact "gnu: overloadargs__Fiiiiii" "overloadargs(int, int, int, int, int, int)" test_demangling_exact "gnu: overloadargs__Fiiiiiii" "overloadargs(int, int, int, int, int, int, int)" test_demangling_exact "gnu: overloadargs__Fiiiiiiii" "overloadargs(int, int, int, int, int, int, int, int)" test_demangling_exact "gnu: overloadargs__Fiiiiiiiii" "overloadargs(int, int, int, int, int, int, int, int, int)" test_demangling_exact "gnu: overloadargs__Fiiiiiiiiii" "overloadargs(int, int, int, int, int, int, int, int, int, int)" test_demangling_exact "gnu: overloadargs__Fiiiiiiiiiii" "overloadargs(int, int, int, int, int, int, int, int, int, int, int)" test_demangling "gnu: pick__13ivCompositionP8ivCanvasRC12ivAllocationiR5ivHit" \ "ivComposition::pick\[(\]+ivCanvas \[*\]+, (const ivAllocation|ivAllocation const) &, int, ivHit &\[)\]+" test_demangling "gnu: pointer__C11ivHScrollerRC7ivEventRC12ivAllocation" \ "ivHScroller::pointer\[(\]+(const ivEvent|ivEvent const) &, (const ivAllocation|ivAllocation const) &\[)\]+ const" test_demangling_exact "gnu: poke__8ivRasterUlUlffff" "ivRaster::poke(unsigned long, unsigned long, float, float, float, float)" test_demangling_exact "gnu: polar__Fdd" "polar(double, double)" test_demangling "gnu: read__10osStdInputRPCc" \ "osStdInput::read\[(\]+(const char|char const) \[*\]+&\[)\]+" test_demangling_exact "gnu: scale__13ivTransformerff" "ivTransformer::scale(float, float)" test_demangling "gnu: scanw__12CursesWindowPCce" \ "CursesWindow::scanw\[(\]+(const char|char const) \[*\]+,...\[)\]+" test_demangling "gnu: scmp__FPCcT0" \ "scmp\[(\]+(const char|char const) \[*\]+, (const char|char const) \[*\]+\[)\]+" test_demangling_exact "gnu: sgetn__7filebufPci" "filebuf::sgetn(char *, int)" test_demangling_exact "gnu: shift__FP5_FrepiT0" "shift(_Frep *, int, _Frep *)" test_demangling_exact "gnu: test__C6BitSeti" "BitSet::test(int) const" test_demangling_exact "gnu: test__C6BitSetii" "BitSet::test(int, int) const" test_demangling "gnu: testbit__FRC7Integerl" \ "testbit\[(\]+(const Integer|Integer const) &, long\[)\]+" test_demangling_exact "gnu: text_source__8Documentl" "Document::text_source(long)" test_demangling_exact "gnu: variance__6Erlangd" "Erlang::variance(double)" test_demangling "gnu: vform__8iostreamPCcPc" \ "iostream::vform\[(\]+(const char|char const) \[*\]+, char \[*\]+\[)\]+" test_demangling_exact "gnu: view__14DocumentViewerP8ItemViewP11TabularItem" "DocumentViewer::view(ItemView *, TabularItem *)" test_demangling_exact "gnu: xy_extents__11ivExtensionffff" "ivExtension::xy_extents(float, float, float, float)" test_demangling_exact "gnu: zero__8osMemoryPvUi" "osMemory::zero(void *, unsigned int)" test_demangling_exact "gnu: _2T4\$N" "T4::N" test_demangling_exact "gnu: _Q22T42t1\$N" "T4::t1::N" test_demangling_exact "gnu: get__2T1" "T1::get(void)" test_demangling_exact "gnu: get__Q22T11a" "T1::a::get(void)" test_demangling_exact "gnu: get__Q32T11a1b" "T1::a::b::get(void)" test_demangling_exact "gnu: get__Q42T11a1b1c" "T1::a::b::c::get(void)" test_demangling_exact "gnu: get__Q52T11a1b1c1d" "T1::a::b::c::d::get(void)" test_demangling_exact "gnu: put__2T1i" "T1::put(int)" test_demangling_exact "gnu: put__Q22T11ai" "T1::a::put(int)" test_demangling_exact "gnu: put__Q32T11a1bi" "T1::a::b::put(int)" test_demangling_exact "gnu: put__Q42T11a1b1ci" "T1::a::b::c::put(int)" test_demangling_exact "gnu: put__Q52T11a1b1c1di" "T1::a::b::c::d::put(int)" test_demangling_exact "gnu: bar__3fooPv" "foo::bar(void *)" test_demangling "gnu: bar__3fooPCv" \ "foo::bar\[(\]+(const void|void const) *\[*\]+\[)\]+" test_demangling_exact "gnu: bar__C3fooPv" "foo::bar(void *) const" test_demangling "gnu: bar__C3fooPCv" \ "foo::bar\[(\]+(const void|void const) *\[*\]+\[)\]+ const" test_demangling_exact "gnu: __eq__3fooRT0" "foo::operator==(foo &)" test_demangling "gnu: __eq__3fooRC3foo" \ "foo::operator==\[(\]+(const foo|foo const) &\[)\]+" test_demangling_exact "gnu: __eq__C3fooR3foo" "foo::operator==(foo &) const" test_demangling "gnu: __eq__C3fooRT0" \ "foo::operator==\[(\]+(const foo|foo const) &\[)\]+ const" test_demangling_exact "gnu: elem__t6vector1Zdi" "vector::elem(int)" test_demangling_exact "gnu: elem__t6vector1Zii" "vector::elem(int)" test_demangling_exact "gnu: __t6vector1Zdi" "vector::vector(int)" test_demangling_exact "gnu: __t6vector1Zii" "vector::vector(int)" test_demangling_exact "gnu: _\$_t6vector1Zdi" "vector::~vector(int)" test_demangling_exact "gnu: _\$_t6vector1Zii" "vector::~vector(int)" test_demangling_exact "gnu: __nw__t2T11ZcUi" "T1::operator new(unsigned int)" test_demangling_exact "gnu: __nw__t2T11Z1tUi" "T1::operator new(unsigned int)" test_demangling_exact "gnu: __dl__t2T11ZcPv" "T1::operator delete(void *)" test_demangling_exact "gnu: __dl__t2T11Z1tPv" "T1::operator delete(void *)" test_demangling_exact "gnu: __t2T11Zci" "T1::T1(int)" test_demangling_exact "gnu: __t2T11Zc" "T1::T1(void)" test_demangling_exact "gnu: __t2T11Z1ti" "T1::T1(int)" test_demangling_exact "gnu: __t2T11Z1t" "T1::T1(void)" test_demangling_exact "gnu: __Q2t4List1Z10VHDLEntity3Pix" \ "List::Pix::Pix(void)" test_demangling_exact "gnu: __Q2t4List1Z10VHDLEntity3PixPQ2t4List1Z10VHDLEntity7element" \ "List::Pix::Pix(List::element *)" test_demangling_exact "gnu: __Q2t4List1Z10VHDLEntity3PixRCQ2t4List1Z10VHDLEntity3Pix" \ "List::Pix::Pix(List::Pix const &)" test_demangling_exact "gnu: __Q2t4List1Z10VHDLEntity7elementRC10VHDLEntityPT0" \ "List::element::element(VHDLEntity const &, List::element *)" test_demangling_exact "gnu: __Q2t4List1Z10VHDLEntity7elementRCQ2t4List1Z10VHDLEntity7element" \ "List::element::element(List::element const &)" test_demangling_exact "gnu: __cl__C11VHDLLibraryGt4PixX3Z11VHDLLibraryZ14VHDLLibraryRepZt4List1Z10VHDLEntity" \ "VHDLLibrary::operator()(PixX >) const" test_demangling_exact "gnu: __cl__Ct4List1Z10VHDLEntityRCQ2t4List1Z10VHDLEntity3Pix" \ "List::operator()(List::Pix const &) const" test_demangling_exact "gnu: __ne__FPvRCQ2t4List1Z10VHDLEntity3Pix" \ "operator!=(void *, List::Pix const &)" test_demangling_exact "gnu: __ne__FPvRCt4PixX3Z11VHDLLibraryZ14VHDLLibraryRepZt4List1Z10VHDLEntity" \ "operator!=(void *, PixX > const &)" test_demangling_exact "gnu: __t4List1Z10VHDLEntityRCt4List1Z10VHDLEntity" \ "List::List(List const &)" test_demangling_exact "gnu: __t4PixX3Z11VHDLLibraryZ14VHDLLibraryRepZt4List1Z10VHDLEntity" \ "PixX >::PixX(void)" test_demangling_exact "gnu: __t4PixX3Z11VHDLLibraryZ14VHDLLibraryRepZt4List1Z10VHDLEntityP14VHDLLibraryRepGQ2t4List1Z10VHDLEntity3Pix" \ "PixX >::PixX(VHDLLibraryRep *, List::Pix)" test_demangling_exact "gnu: __t4PixX3Z11VHDLLibraryZ14VHDLLibraryRepZt4List1Z10VHDLEntityRCt4PixX3Z11VHDLLibraryZ14VHDLLibraryRepZt4List1Z10VHDLEntity" \ "PixX >::PixX(PixX > const &)" test_demangling_exact "gnu: nextE__C11VHDLLibraryRt4PixX3Z11VHDLLibraryZ14VHDLLibraryRepZt4List1Z10VHDLEntity" \ "VHDLLibrary::nextE(PixX > &) const" test_demangling_exact "gnu: next__Ct4List1Z10VHDLEntityRQ2t4List1Z10VHDLEntity3Pix" \ "List::next(List::Pix &) const" test_demangling_exact "gnu: _GLOBAL_\$D\$set" "global destructors keyed to set" test_demangling_exact "gnu: _GLOBAL_\$I\$set" "global constructors keyed to set" test_demangling_exact "gnu: __as__t5ListS1ZUiRCt5ListS1ZUi" \ "ListS::operator=(ListS const &)" test_demangling_exact "gnu: __cl__Ct5ListS1ZUiRCQ2t5ListS1ZUi3Vix" \ "ListS::operator()(ListS::Vix const &) const" test_demangling_exact "gnu: __cl__Ct5SetLS1ZUiRCQ2t5SetLS1ZUi3Vix" \ "SetLS::operator()(SetLS::Vix const &) const" test_demangling_exact "gnu: __t10ListS_link1ZUiRCUiPT0" \ "ListS_link::ListS_link(unsigned int const &, ListS_link *)" test_demangling_exact "gnu: __t10ListS_link1ZUiRCt10ListS_link1ZUi" \ "ListS_link::ListS_link(ListS_link const &)" test_demangling_exact "gnu: __t5ListS1ZUiRCt5ListS1ZUi" \ "ListS::ListS(ListS const &)" test_demangling_exact "gnu: next__Ct5ListS1ZUiRQ2t5ListS1ZUi3Vix" \ "ListS::next(ListS::Vix &) const" test_demangling_exact "gnu: __ne__FPvRCQ2t5SetLS1ZUi3Vix" \ "operator!=(void *, SetLS::Vix const &)" test_demangling_exact "gnu: __t8ListElem1Z5LabelRt4List1Z5Label" \ "ListElem