From b2a9cee678fca8a6ec7bcc0154e29c5b3867f764 Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Wed, 1 Aug 2012 18:56:46 +0000 Subject: Erik Olofsson: This patch adds support for lambda demangling. I fixed this because it crashed lldb when it tried to demangle the added test. Not sure how it should identify the lambda so that might need changing from the current 'lambdax':: Howard: Please patch CREDITS.TXT. llvm-svn: 161125 --- libcxxabi/test/test_demangle.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libcxxabi/test/test_demangle.cpp') diff --git a/libcxxabi/test/test_demangle.cpp b/libcxxabi/test/test_demangle.cpp index c53ba5838e4..c8cc8530696 100644 --- a/libcxxabi/test/test_demangle.cpp +++ b/libcxxabi/test/test_demangle.cpp @@ -29565,6 +29565,8 @@ const char* cases[][2] = {"_Z13JVTLib_103270ILi1EEvPsDv2_xS1_", "void JVTLib_103270<1>(short*, long long vector[2], long long vector[2])"}, {"_ZN8platform20split_string_convertIcPFiRKSsEiSaIiESt6vectorEEjPKT_S9_S7_T0_RT3_IT1_T2_E", "unsigned int platform::split_string_convert, std::vector>(char const*, char const*, char, int (*)(std::string const&), std::vector >&)"}, {"_ZN2MF12_GLOBAL__N_114WeakCallHelperINS0_15DecodeQueueImplEEEvRKN5boost8functionIFvvEEERKNS3_8weak_ptrIT_EE", "void MF::(anonymous namespace)::WeakCallHelper(boost::function const&, boost::weak_ptr const&)"}, + {"_ZZN4NIds4NStr14TCStrAggregateINS0_13TCTCStrTraitsINS0_11TCStrTraitsIcNS0_17CDefaultStrParamsEEENS0_14TCStrImp_FixedIS5_Lx256EEEEEE21f_AddFromIteratorUTF8INS0_16CStrIteratorUTF8EEEvRxRKT_ENKSA_ISB_EUlmE0_clEm", "void NIds::NStr::TCStrAggregate, NIds::NStr::TCStrImp_Fixed, 256ll> > >::f_AddFromIteratorUTF8(long long&, NIds::NStr::CStrIteratorUTF8 const&)::NIds::NStr::TCStrAggregate, NIds::NStr::TCStrImp_Fixed, 256ll> > >::f_AddFromIteratorUTF8::'lambda0'(unsigned long)::operator()(unsigned long) const"}, + {"_ZZN4NIds4NStr14TCStrAggregateINS0_13TCTCStrTraitsINS0_11TCStrTraitsIcNS0_17CDefaultStrParamsEEENS0_14TCStrImp_FixedIS5_Lx256EEEEEE21f_AddFromIteratorUTF8INS0_16CStrIteratorUTF8EEEvRxRKT_ENKSA_ISB_EUt0_clEm", "void NIds::NStr::TCStrAggregate, NIds::NStr::TCStrImp_Fixed, 256ll> > >::f_AddFromIteratorUTF8(long long&, NIds::NStr::CStrIteratorUTF8 const&)::NIds::NStr::TCStrAggregate, NIds::NStr::TCStrImp_Fixed, 256ll> > >::f_AddFromIteratorUTF8::'unnamed0'::operator()(unsigned long) const"}, }; const unsigned N = sizeof(cases) / sizeof(cases[0]); -- cgit v1.2.3