[all-commits] [llvm/llvm-project] 68744f: [lldb] Fix building with latest libc++

Martin Storsjö via All-commits all-commits at lists.llvm.org
Thu Aug 10 03:00:19 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 68744ffbdd7daac41da274eef9ac0d191e11c16d
      https://github.com/llvm/llvm-project/commit/68744ffbdd7daac41da274eef9ac0d191e11c16d
  Author: Martin Storsjö <martin at martin.st>
  Date:   2023-08-10 (Thu, 10 Aug 2023)

  Changed paths:
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp

  Log Message:
  -----------
  [lldb] Fix building with latest libc++

Since https://reviews.llvm.org/D157058 in libc++,
the base template for char_traits has been removed - it is only
provided for char, wchar_t, char8_t, char16_t and char32_t.
(Thus, to use basic_string with a type other than those, we'd need
to supply suitable traits ourselves.)

For this particular use, a vector works just as well as basic_string.

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




More information about the All-commits mailing list