1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/include/llvm
Rafael Espindola 95cefc8ba1 Add an c++ itanium demangler to llvm.
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.

llvm-svn: 280732
2016-09-06 19:16:48 +00:00
..
ADT Fix DensetSet::insert_as() for MSVC2015 (NFC) 2016-09-06 03:03:15 +00:00
Analysis Fix up comment from r280442, noticed by Justin. 2016-09-02 17:20:32 +00:00
AsmParser
Bitcode Constify some path in the bitcode writer (NFC) 2016-08-19 06:06:18 +00:00
CodeGen ADT: Do not inherit from std::iterator in ilist_iterator 2016-09-03 02:27:35 +00:00
Config Add an c++ itanium demangler to llvm. 2016-09-06 19:16:48 +00:00
DebugInfo [codeview] Use the correct max CV record length of 0xFF00 2016-09-02 18:43:27 +00:00
Demangle Add an c++ itanium demangler to llvm. 2016-09-06 19:16:48 +00:00
ExecutionEngine [ORC] Clone module flags metadata into the globals module in the 2016-09-04 17:53:30 +00:00
IR Fix comment formatting for DebugInfoFlags.def 2016-09-06 17:22:48 +00:00
IRReader
LibDriver
LineEditor
Linker
LTO [ThinLTO] Move loading of cache entry to client 2016-08-26 23:29:14 +00:00
MC (LLVM part) Implement MASM-flavor intel syntax behavior for inline MS asm block: 2016-09-02 23:15:29 +00:00
Object [COFFObjectFile] Ignore broken symbol table 2016-08-30 20:20:24 +00:00
ObjectYAML
Option
Passes
ProfileData [Coverage] Make sorting criteria for CounterMappingRegions local. 2016-08-31 07:01:17 +00:00
Support [Support] - Fix possible crash in match() of llvm::Regex. 2016-09-02 08:44:46 +00:00
TableGen
Target [Target] Remove the AvailableRegClasses vector from TargetLoweringBase. It was a private member with no code reading from it. 2016-09-05 06:43:00 +00:00
Transforms [JumpThreading] Only write back branch-weight MDs for blocks that originally had PGO info 2016-09-06 16:08:33 +00:00
CMakeLists.txt
InitializePasses.h Add a counter-function insertion pass 2016-09-01 09:42:39 +00:00
LinkAllIR.h
LinkAllPasses.h Add a counter-function insertion pass 2016-09-01 09:42:39 +00:00
module.modulemap
module.modulemap.build
Pass.h
PassAnalysisSupport.h
PassInfo.h
PassRegistry.h
PassSupport.h