1 //===- Demangle.h ---------------------------------------------------------===// 2 // 3 // The MCLinker Project 4 // 5 // This file is distributed under the University of Illinois Open Source 6 // License. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 #ifndef MCLD_SUPPORT_DEMANGLE_H_ 10 #define MCLD_SUPPORT_DEMANGLE_H_ 11 12 #include <string> 13 14 namespace mcld { 15 16 std::string demangleName(const std::string& mangled_name); 17 18 bool isCtorOrDtor(const char* pName, size_t pLength); 19 20 } // namespace mcld 21 22 #endif // MCLD_SUPPORT_DEMANGLE_H_ 23