Use LLVM's new ItaniumPartialDemangler in LLDB
authorStefan Granitz <stefan.graenitz@gmail.com>
Wed, 25 Jul 2018 15:19:04 +0000 (15:19 +0000)
committerStefan Granitz <stefan.graenitz@gmail.com>
Wed, 25 Jul 2018 15:19:04 +0000 (15:19 +0000)
commit2f842d68df805e26b81373647b4471dd49cef8f4
treec09257b64198f60b1150e742a994762136dd3d22
parentee10ce713749a5aa2fe9a3033f1828529d138eeb
Use LLVM's new ItaniumPartialDemangler in LLDB

Summary:
Replace the existing combination of FastDemangle and the fallback to llvm::itaniumDemangle() with LLVM's new ItaniumPartialDemangler. It slightly reduces complexity and slightly improves performance, but doesn't introduce conceptual changes. This patch is preparing for more fundamental improvements on LLDB's demangling approach.

Reviewers: friss, jingham, erik.pilkington, labath, clayborg, mgorny, davide, JDevlieghere

Reviewed By: JDevlieghere

Subscribers: teemperor, JDevlieghere, labath, clayborg, davide, lldb-commits, mgorny, erik.pilkington

Differential Revision: https://reviews.llvm.org/D49612

llvm-svn: 337931
lldb/cmake/modules/LLDBConfig.cmake
lldb/lldb.xcodeproj/project.pbxproj
lldb/source/Core/Mangled.cpp
lldb/unittests/Core/CMakeLists.txt
lldb/unittests/Core/MangledTest.cpp [new file with mode: 0644]