summaryrefslogtreecommitdiff
path: root/tests/mangling
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2020-03-13 17:13:18 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2020-03-13 17:13:18 (GMT)
commit9e3dfa57a62aebacd9c14f0ca3b5cbcd3f84097f (patch)
tree9ee7daf8c9ed2f89490fdfdd4f57528892fb11f4 /tests/mangling
parenta955b79a17f23157a02e2312b8693498c5f54b09 (diff)
Fixed a little coding mistake in Itanium demangling.
Diffstat (limited to 'tests/mangling')
-rw-r--r--tests/mangling/itanium.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/mangling/itanium.py b/tests/mangling/itanium.py
index 7ff16c2..a1cc517 100644
--- a/tests/mangling/itanium.py
+++ b/tests/mangling/itanium.py
@@ -192,7 +192,7 @@ class TestItaniumMangling(ChrysalideTestCase):
self.check_demangling(demangled, '??? zzz::aa<cccc::xxxx<float>>::ddddd(unsigned int)')
demangled = demangler.decode_routine('_ZN3aaa3bbbINS_3cccIfEEE3dddEj')
- self.check_demangling(demangled, '??? aaa::bbb<ccc<float>>::ddd(unsigned int)')
+ self.check_demangling(demangled, '??? aaa::bbb<aaa::ccc<float>>::ddd(unsigned int)')
def testAndroidSystem(self):
@@ -207,7 +207,10 @@ class TestItaniumMangling(ChrysalideTestCase):
self.check_demangling(demangled, '??? icu_55::Locale::operator=(const icu_55::Locale &)')
demangled = demangler.decode_routine('_ZNSt3__16vectorIfNS_9allocatorIfEEE8__appendEj')
- self.check_demangling(demangled, '??? std::__1::vector<float, allocator<float>>::__append(unsigned int)')
+ self.check_demangling(demangled, '??? std::__1::vector<float, std::__1::allocator<float>>::__append(unsigned int)')
demangled = demangler.decode_routine('_ZN7android7String8C1EPKDsj')
self.check_demangling(demangled, 'android::String8 *android::String8::String8(const char16_t *, unsigned int)')
+
+ demangled = demangler.decode_routine('_ZNSt3__111__tree_nextIPNS_16__tree_node_baseIPvEEEET_S5_')
+ self.check_demangling(demangled, 'std::__1::__tree_node_base<void *> *std::__1::__tree_next<std::__1::__tree_node_base<void *> *>(std::__1::__tree_node_base<void *> *)')