LLDB  mainline
Functions
Mangled.cpp File Reference
#include "lldb/Core/Mangled.h"
#include "lldb/Core/RichManglingContext.h"
#include "lldb/Utility/ConstString.h"
#include "lldb/Utility/Log.h"
#include "lldb/Utility/Logging.h"
#include "lldb/Utility/RegularExpression.h"
#include "lldb/Utility/Stream.h"
#include "lldb/Utility/Timer.h"
#include "lldb/lldb-enumerations.h"
#include "Plugins/Language/CPlusPlus/CPlusPlusLanguage.h"
#include "Plugins/Language/ObjC/ObjCLanguage.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Demangle/Demangle.h"
#include "llvm/Support/Compiler.h"
#include <mutex>
#include <string>
#include <utility>
#include <stdlib.h>
#include <string.h>
Include dependency graph for Mangled.cpp:

Go to the source code of this file.

Functions

static Mangled::ManglingScheme cstring_mangling_scheme (const char *s)
 
static bool cstring_is_mangled (const char *s)
 
static ConstString get_demangled_name_without_arguments (ConstString mangled, ConstString demangled)
 
static char * GetMSVCDemangledStr (const char *M)
 
static char * GetItaniumDemangledStr (const char *M)
 
Streamoperator<< (Stream &s, const Mangled &obj)
 

Function Documentation

◆ cstring_is_mangled()

static bool cstring_is_mangled ( const char *  s)
inlinestatic

Definition at line 71 of file Mangled.cpp.

References cstring_mangling_scheme().

Referenced by get_demangled_name_without_arguments().

◆ cstring_mangling_scheme()

static Mangled::ManglingScheme cstring_mangling_scheme ( const char *  s)
inlinestatic

Definition at line 61 of file Mangled.cpp.

Referenced by cstring_is_mangled(), and GetItaniumDemangledStr().

◆ get_demangled_name_without_arguments()

static ConstString get_demangled_name_without_arguments ( ConstString  mangled,
ConstString  demangled 
)
static

◆ GetItaniumDemangledStr()

static char* GetItaniumDemangledStr ( const char *  M)
static

◆ GetMSVCDemangledStr()

static char* GetMSVCDemangledStr ( const char *  M)
static

Definition at line 220 of file Mangled.cpp.

References lldb_private::GetLogIfAllCategoriesSet(), and LIBLLDB_LOG_DEMANGLE.

Referenced by GetItaniumDemangledStr().

◆ operator<<()

Stream& operator<< ( Stream s,
const Mangled &  obj 
)

Definition at line 479 of file Mangled.cpp.

References lldb::eLanguageTypeUnknown.