diff --git a/demangle/Cargo.toml b/demangle/Cargo.toml index 269e92cd7..33960a07c 100644 --- a/demangle/Cargo.toml +++ b/demangle/Cargo.toml @@ -21,7 +21,7 @@ exclude = [ ] [dependencies] -cpp_demangle = "0.3.0" +cpp_demangle = { git = "https://github.com/Swatinem/cpp_demangle", branch = "fix/increase-recursions" } msvc-demangler = "0.8.0" rustc-demangle = "0.1.16" symbolic-common = { version = "7.5.0", path = "../common" } diff --git a/demangle/tests/test_cpp.rs b/demangle/tests/test_cpp.rs index f25b12aa0..df40f8b7a 100644 --- a/demangle/tests/test_cpp.rs +++ b/demangle/tests/test_cpp.rs @@ -17,6 +17,9 @@ fn test_demangle_cpp() { "_Z3MinIiiEDTqultfp_fp0_cl7forwardIT_Efp_Ecl7forwardIT0_Efp0_EEOS0_OS1_" => "decltype (({parm#1}<{parm#2})?((forward)({parm#1})) : ((forward)({parm#2}))) Min(int&&, int&&)", "___ZN19URLConnectionClient33_clientInterface_cancelConnectionEP16dispatch_queue_sU13block_pointerFvvE_block_invoke14" => "invocation function for block in URLConnectionClient::_clientInterface_cancelConnection(dispatch_queue_s*, void () block_pointer)", + "_ZNK8xxxxxxxx14xxxxxxxxxxxxxxINS_14xxxxxxxxxxxxxxINS1_INS1_INS1_INS1_INS1_INS_10xxxxxxxxxxE32xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxEES3_EE22xxxxxxxxxxxxxxxxxxxxxxEES6_EE13xxxxxxxxxxxxxEE17xxxxxxxxxxxxxxxxxEE14xxxxxxxxxxxxxxE8xxxxxxxxE7xxxxxxxRKN4xxxx5xxxxxEb" => + "xxxxxxxx::xxxxxxxxxxxxxx, xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>, xxxxxxxxxxxxxxxxxxxxxx>, xxxxxxxxxxxxxxxxxxxxxx>, xxxxxxxxxxxxx>, xxxxxxxxxxxxxxxxx>, xxxxxxxxxxxxxx>::xxxxxxxx(xxxxxxx, xxxx::xxxxx const&, bool) const", + // Broken in cpp_demangle // "_ZN4base8internal13FunctorTraitsIPFvvEvE6InvokeIJEEEvS3_DpOT_" => "void base::internal::FunctorTraits::Invoke<>(void (*)())", });