aboutsummaryrefslogtreecommitdiffstats
path: root/test/cxxfilt/ts/misc/tclist
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2017-06-25 22:19:01 +0000
committerEd Maste <emaste@FreeBSD.org>2017-06-25 22:19:01 +0000
commit2b7f789ebfc1d2b049bf705a49f76e078e3b11b7 (patch)
tree7c99930aa2aec9afef2f469345940b4d94ad176f /test/cxxfilt/ts/misc/tclist
parent8cc1f6cc64e76b11cee23af79828b63cd7be4c09 (diff)
downloadsrc-2b7f789ebfc1d2b049bf705a49f76e078e3b11b7.tar.gz
src-2b7f789ebfc1d2b049bf705a49f76e078e3b11b7.zip
Import ELF Tool Chain snapshot at r3561vendor/elftoolchain/elftoolchain-r3561
Notes
Notes: svn path=/vendor/elftoolchain/dist/; revision=320341 svn path=/vendor/elftoolchain/elftoolchain-r3561/; revision=320342; tag=vendor/elftoolchain/elftoolchain-r3561
Diffstat (limited to 'test/cxxfilt/ts/misc/tclist')
-rw-r--r--test/cxxfilt/ts/misc/tclist40
1 files changed, 38 insertions, 2 deletions
diff --git a/test/cxxfilt/ts/misc/tclist b/test/cxxfilt/ts/misc/tclist
index afc1cf62fcbb..ebe3e65c1d1b 100644
--- a/test/cxxfilt/ts/misc/tclist
+++ b/test/cxxfilt/ts/misc/tclist
@@ -1,11 +1,11 @@
# simple function
-
"_Z1f", "f"
"_Z1fi", "f(int)"
"_Z1fic", "f(int, char)"
+"_Z1f3bar", "f(bar)"
+"_Z1fFviE", "f(void (int))"
# namespace
-
"_ZN12elftoolchainE", "elftoolchain"
"_ZN11elftoolchainE", "_ZN11elftoolchainE"
"_ZN12elftoolchain", "_ZN12elftoolchain"
@@ -13,3 +13,39 @@
"_ZN12elftoolchain3foo3barEi", "elftoolchain::foo::bar(int)"
"_ZN12elftoolchain3foo3barEic", "elftoolchain::foo::bar(int, char)"
+# non-static member function with qualifiers <nested-name>
+# N [<CV-qualifiers>] [<ref-qualifier>] <prefix> <unqualified-name> E
+"_ZNKR12elftoolchain3fooEi", "elftoolchain::foo(int) const &"
+"_ZNKO12elftoolchain3fooEi", "elftoolchain::foo(int) const &&"
+
+# function type with qualifiers. (note that the place to encode qualifiers
+# is different than <nested-name>)
+# <function-type> ::= [<CV-qualifiers>] [Dx] F [Y] <bare-function-type>
+ [<ref-qualifier>] E
+"_Z3fooKFviRE", "foo(void (int) const &)"
+"_Z3fooKFviOE", "foo(void (int) const &&)"
+
+# Pointer-to-member type and type qualifiers
+# <pointer-to-member-type> ::= M <class type> <member type>
+"_Z3barM12elftoolchainFviE", "bar(void (elftoolchain::*)(int))"
+"_Z3barM12elftoolchainKFviRE", "bar(void (elftoolchain::*)(int) const &)"
+"_Z3fooFvvEM1AFvvE", "foo(void (), void (A::*)())"
+"_Z3fooPFvvEM1AFvvE", "foo(void (*)(), void (A::*)())"
+"_Z3fooPFvvREM1AFvvE", "foo(void (*)() &, void (A::*)())"
+"_Z3fooPFvvREM1AFvvOE", "foo(void (*)() &, void (A::*)() &&)"
+"_Z3fooKFvvREM1AFvvE", "foo(void () const &, void (A::*)())"
+"_Z3fooKPFvvREM1AFvvE", "foo(void (* const)() &, void (A::*)())"
+"_Z3fooPKFvvREM1AFvvE", "foo(void (*)() const &, void (A::*)())"
+"_Z3fooPKFvvREPM1AFvvE", "foo(void (*)() const &, void (A::**)())"
+"_Z3fooPKFviREPM1AFvidE", "foo(void (*)(int) const &, void (A::**)(int, double))"
+"_Z3fooPrKFvvREPKVM1APKFvvE", "foo(void (*)() const restrict &, void (* A::* volatile const*)() const)"
+
+# local names
+
+
+
+# abbreviation St
+"_ZSt3foo", '::std::foo'
+"_ZNSt3for3barE", 'std::for::bar'
+
+# c++11 decltype