[all-commits] [llvm/llvm-project] e3921b: [lldb][NFCI] Remove use of ConstString from Proces...

Alex via All-commits all-commits at lists.llvm.org
Mon Jul 3 11:15:01 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e3921b8bff693649602760a6221cd1150420a287
      https://github.com/llvm/llvm-project/commit/e3921b8bff693649602760a6221cd1150420a287
  Author: Alex Langford <alangford at apple.com>
  Date:   2023-07-03 (Mon, 03 Jul 2023)

  Changed paths:
    M lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp
    M lldb/source/Plugins/Process/elf-core/ProcessElfCore.h

  Log Message:
  -----------
  [lldb][NFCI] Remove use of ConstString from ProcessElfCore

I'm not convinced that it makes sense for the paths to be ConstStrings. We're
going to be putting them into FileSpecs (which are backed by
ConstStrings, for now) but otherwise there's no need to store them as
ConstStrings upfront.

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




More information about the All-commits mailing list