llvm-project/llvm/test/tools/llvm-objdump
Rafael Espindola b940b66c60 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
..
AArch64 Update the AArch64ExternalSymbolizer to print literal strings as escaped strings 2016-06-13 21:08:57 +00:00
ARM llvm-objdump: ELF: Handle code and data mix in all scenarios 2016-08-25 19:41:08 +00:00
Hexagon llvm-objdump: Add Hexagon printer changes for -S/-l options 2016-08-18 21:50:13 +00:00
Inputs llvm-objdump: add coff import library symbol listing support 2016-08-18 16:39:19 +00:00
X86 Add an c++ itanium demangler to llvm. 2016-09-06 19:16:48 +00:00
coff-file.test
coff-import-library.test llvm-objdump: add coff import library symbol listing support 2016-08-18 16:39:19 +00:00
coff-large-bss.test
coff-many-relocs.test
coff-non-null-terminated-file.test
coff-private-headers.test [llvm-objdump] Add support for dumping the PE TLS directory 2016-03-15 06:14:01 +00:00
common-symbol-elf.test
eh_frame-arm64.test [DebugInfo] Dump CIE augmentation data as a list of hex bytes 2016-03-01 18:38:05 +00:00
eh_frame-mipsel.test [DebugInfo] Dump CIE augmentation data as a list of hex bytes 2016-03-01 18:38:05 +00:00
eh_frame_zero_cie.test [DebugInfo] Support zero-length CIE in the _eh_frame parser 2016-01-27 14:05:35 +00:00
hex-relocation-addr.test
invalid-input.test
macho-LLVM-bundle.test Add the printing the Mach-O (__LLVM,__bundle) xar archive file section "verbosely" 2016-05-23 21:34:12 +00:00
macho-bad-ordinal.test
macho-bind.test
macho-bind2.test
macho-compact-unwind-i386.test
macho-compact-unwind-x86_64.test
macho-exports-trie.test
macho-lazy-bind.test
macho-objc-meta-data.test Add a test case for the crash fixed with r267037. David Blaikie said it would be nice to have! 2016-04-27 20:37:06 +00:00
macho-rebase.test
macho-sections.test Fix bugs in llvm-objdump printing the last word for -section in non i386 and x86 files. 2016-04-27 23:43:00 +00:00
macho-unwind-info-arm64.test
macho-unwind-info-no-relocs.test
macho-unwind-info-x86_64.test
macho-weak-bind.test
malformed-archives.test Reapply "More fixes to get good error messages for bad archives." 2016-08-03 19:02:50 +00:00
malformed-macho.test Thread Expected<...> up from createMachOObjectFile() to allow llvm-objdump to produce a real error message 2016-04-06 22:14:09 +00:00
proc-specific-section-elf.test
section-filter.test
win64-unwind-data.test