[Demangle] convert microsoftDemangle to take a std::string_view
authorNick Desaulniers <ndesaulniers@google.com>
Mon, 5 Jun 2023 19:53:38 +0000 (12:53 -0700)
committerNick Desaulniers <ndesaulniers@google.com>
Mon, 5 Jun 2023 20:00:20 +0000 (13:00 -0700)
commitdb98ac082744880a6e352b2d4a97d8896d9a7694
tree591d67155d9ec2a76bdde720d0c8b16570929a06
parentcaf00725923cb89af9b9478c53496e9f81ee4d6d
[Demangle] convert microsoftDemangle to take a std::string_view

This should be last of the "bottom-up conversions" of various demanglers
to accept std::string_view.  After this, D149104 may be revisited.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D152176
lldb/source/Core/Mangled.cpp
llvm/include/llvm/Demangle/Demangle.h
llvm/lib/DebugInfo/Symbolize/Symbolize.cpp
llvm/lib/Demangle/MicrosoftDemangle.cpp
llvm/tools/llvm-objdump/COFFDump.cpp
llvm/tools/llvm-undname/llvm-undname.cpp