[all-commits] [llvm/llvm-project] 12d967: [Damangle] convert rustDemangle to use std::string...

Nick Desaulniers via All-commits all-commits at lists.llvm.org
Fri Jun 2 15:11:49 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 12d967c95f1633bebd1b225ddd53573951a7ca43
      https://github.com/llvm/llvm-project/commit/12d967c95f1633bebd1b225ddd53573951a7ca43
  Author: Nick Desaulniers <ndesaulniers at google.com>
  Date:   2023-06-02 (Fri, 02 Jun 2023)

  Changed paths:
    M lldb/include/lldb/Utility/ConstString.h
    M lldb/source/Core/Mangled.cpp
    M llvm/include/llvm/Demangle/Demangle.h
    M llvm/lib/Demangle/Demangle.cpp
    M llvm/lib/Demangle/RustDemangle.cpp
    M llvm/tools/llvm-rust-demangle-fuzzer/llvm-rust-demangle-fuzzer.cpp

  Log Message:
  -----------
  [Damangle] convert rustDemangle to use std::string_view

I was doing this API conversion to use std::string_view top-down in
D149104, but this exposed issues in individual demanglers that needed to
get fixed first. There's no issue with the conversion for the Rust
demangler, so convert it first.

Reviewed By: MaskRay

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




More information about the All-commits mailing list