[all-commits] [llvm/llvm-project] 6ebf1b: [lldb] Change return type of EventData::GetFlavor

Alex via All-commits all-commits at lists.llvm.org
Tue Apr 11 10:52:28 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6ebf1bc66b898e942f0f483aba200211c6c8ef31
      https://github.com/llvm/llvm-project/commit/6ebf1bc66b898e942f0f483aba200211c6c8ef31
  Author: Alex Langford <alangford at apple.com>
  Date:   2023-04-11 (Tue, 11 Apr 2023)

  Changed paths:
    M lldb/include/lldb/Breakpoint/Breakpoint.h
    M lldb/include/lldb/Breakpoint/Watchpoint.h
    M lldb/include/lldb/Core/DebuggerEvents.h
    M lldb/include/lldb/Target/Process.h
    M lldb/include/lldb/Target/Target.h
    M lldb/include/lldb/Target/Thread.h
    M lldb/include/lldb/Utility/Event.h
    M lldb/source/API/SBEvent.cpp
    M lldb/source/Breakpoint/Breakpoint.cpp
    M lldb/source/Breakpoint/Watchpoint.cpp
    M lldb/source/Core/DebuggerEvents.cpp
    M lldb/source/Target/Process.cpp
    M lldb/source/Target/Target.cpp
    M lldb/source/Target/Thread.cpp
    M lldb/source/Utility/Event.cpp

  Log Message:
  -----------
  [lldb] Change return type of EventData::GetFlavor

There's no reason these strings need to be in the ConstString
StringPool, they're already string literals with static lifetime.

I plan on addressing other similar functions in follow up commits.

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




More information about the All-commits mailing list