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:
Chaoren Lin 2015-05-28 19:15:15 +00:00
parent 411c636081
commit b41354c9d0
5 changed files with 5027 additions and 4953 deletions

View File

@ -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

View File

@ -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

View File

@ -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