mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-11 05:35:11 +00:00
ec44cfdaf0
This adds a copy of the demangler in libcxxabi. The code also has no dependencies on anything else in LLVM. To enforce that I added it as another library. That way a BUILD_SHARED_LIBS will fail if anyone adds an use of StringRef for example. The no llvm dependency combined with the fact that this has to build on linux, OS X and Windows required a few changes to the code. In particular: No constexpr. No alignas On OS X at least this library has only one global symbol: __ZN4llvm16itanium_demangleEPKcPcPmPi My current plan is: Commit something like this Change lld to use it Change lldb to use it as the fallback Add a few #ifdefs so that exactly the same file can be used in libcxxabi to export abi::__cxa_demangle. Once the fast demangler in lldb can handle any names this implementation can be replaced with it and we will have the one true demangler. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@280732 91177308-0d34-0410-b5e6-96231b3b80d8
48 lines
911 B
Plaintext
48 lines
911 B
Plaintext
;===- ./lib/LLVMBuild.txt --------------------------------------*- Conf -*--===;
|
|
;
|
|
; The LLVM Compiler Infrastructure
|
|
;
|
|
; This file is distributed under the University of Illinois Open Source
|
|
; License. See LICENSE.TXT for details.
|
|
;
|
|
;===------------------------------------------------------------------------===;
|
|
;
|
|
; This is an LLVMBuild description file for the components in this subdirectory.
|
|
;
|
|
; For more information on the LLVMBuild system, please see:
|
|
;
|
|
; http://llvm.org/docs/LLVMBuild.html
|
|
;
|
|
;===------------------------------------------------------------------------===;
|
|
|
|
[common]
|
|
subdirectories =
|
|
Analysis
|
|
AsmParser
|
|
Bitcode
|
|
CodeGen
|
|
DebugInfo
|
|
Demangle
|
|
ExecutionEngine
|
|
LibDriver
|
|
LineEditor
|
|
Linker
|
|
IR
|
|
IRReader
|
|
LTO
|
|
MC
|
|
Object
|
|
ObjectYAML
|
|
Option
|
|
Passes
|
|
ProfileData
|
|
Support
|
|
TableGen
|
|
Target
|
|
Transforms
|
|
|
|
[component_0]
|
|
type = Group
|
|
name = Libraries
|
|
parent = $ROOT
|