forked from OSchip/llvm-project
Move inlined cxa_demangle.cpp to a separate file.
Summary: In preparation for some changes to make this compatible with MSVC. Reviewers: emaste, zturner, clayborg Reviewed By: clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D9949 llvm-svn: 238459
This commit is contained in:
parent
411c636081
commit
b41354c9d0
|
@ -0,0 +1,21 @@
|
|||
//===-- CxaDemangle.h -------------------------------------------*- C++ -*-===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
// This file is distributed under the University of Illinois Open Source
|
||||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef liblldb_CxaDemangle_h_
|
||||
#define liblldb_CxaDemangle_h_
|
||||
|
||||
namespace lldb_private
|
||||
{
|
||||
|
||||
char*
|
||||
__cxa_demangle(const char* mangled_name, char* buf, size_t* n, int* status);
|
||||
|
||||
}
|
||||
|
||||
#endif
|
|
@ -0,0 +1,24 @@
|
|||
//===-- FastDemangle.h ------------------------------------------*- C++ -*-===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
// This file is distributed under the University of Illinois Open Source
|
||||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef liblldb_FastDemangle_h_
|
||||
#define liblldb_FastDemangle_h_
|
||||
|
||||
namespace lldb_private
|
||||
{
|
||||
|
||||
char *
|
||||
FastDemangle(const char *mangled_name);
|
||||
|
||||
char *
|
||||
FastDemangle(const char *mangled_name, long mangled_name_length);
|
||||
|
||||
}
|
||||
|
||||
#endif
|
|
@ -14,6 +14,7 @@ add_lldb_library(lldbCore
|
|||
ConnectionMachPort.cpp
|
||||
ConnectionSharedMemory.cpp
|
||||
ConstString.cpp
|
||||
CxaDemangle.cpp
|
||||
DataBufferHeap.cpp
|
||||
DataBufferMemoryMap.cpp
|
||||
DataEncoder.cpp
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue