[lld] r292182 - [ELF] __cxa_demangle is now called itaniumDemangle. Update.

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 16 17:59:13 PST 2017


Author: davide
Date: Mon Jan 16 19:59:13 2017
New Revision: 292182

URL: http://llvm.org/viewvc/llvm-project?rev=292182&view=rev
Log:
[ELF] __cxa_demangle is now called itaniumDemangle. Update.

Modified:
    lld/trunk/ELF/Strings.cpp

Modified: lld/trunk/ELF/Strings.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Strings.cpp?rev=292182&r1=292181&r2=292182&view=diff
==============================================================================
--- lld/trunk/ELF/Strings.cpp (original)
+++ lld/trunk/ELF/Strings.cpp Mon Jan 16 19:59:13 2017
@@ -91,9 +91,9 @@ bool elf::isValidCIdentifier(StringRef S
 
 // Returns the demangled C++ symbol name for Name.
 Optional<std::string> elf::demangle(StringRef Name) {
-  // __cxa_demangle can be used to demangle strings other than symbol
+  // itaniumDemangle can be used to demangle strings other than symbol
   // names which do not necessarily start with "_Z". Name can be
-  // either a C or C++ symbol. Don't call __cxa_demangle if the name
+  // either a C or C++ symbol. Don't call itaniumDemangle if the name
   // does not look like a C++ symbol name to avoid getting unexpected
   // result for a C symbol that happens to match a mangled type name.
   if (!Name.startswith("_Z"))




More information about the llvm-commits mailing list