[libcxxabi] [llvm] [llvm-cxxfilt] Added the option --no-params (PR #75348)

Dmitry Vasilyev via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 18 13:15:17 PST 2023


================
@@ -32,7 +32,7 @@ enum : int {
 /// Returns a non-NULL pointer to a NUL-terminated C style string
 /// that should be explicitly freed, if successful. Otherwise, may return
 /// nullptr if mangled_name is not a valid mangling or is nullptr.
-char *itaniumDemangle(std::string_view mangled_name);
+char *itaniumDemangle(std::string_view mangled_name, bool ParseParams = true);
----------------
slydiman wrote:

> This is a llvm local version of __cxa_demangle. Other than the name and being in the llvm namespace it is identical.

Looks like that comment is outdated. I do not see any relevant place in libcxxabi other than llvm-project/libcxxabi/src/cxa_demangle.cpp.
But llvm-project/llvm/include/llvm/Demangle/Demangle.h (and llvm-project/llvm/lib/Demangle/Demangle.cpp) is absolutely different.


https://github.com/llvm/llvm-project/pull/75348


More information about the llvm-commits mailing list