[all-commits] [llvm/llvm-project] 68e73e: [lldb] Handle empty search string in "memory find"

David Spickett via All-commits all-commits at lists.llvm.org
Tue Apr 19 02:19:52 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 68e73eaee632b29d36e8b24f62e77ef26084885d
      https://github.com/llvm/llvm-project/commit/68e73eaee632b29d36e8b24f62e77ef26084885d
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2022-04-19 (Tue, 19 Apr 2022)

  Changed paths:
    M lldb/source/Commands/CommandObjectMemory.cpp
    M lldb/test/API/functionalities/memory/find/TestMemoryFind.py

  Log Message:
  -----------
  [lldb] Handle empty search string in "memory find"

Given that you'd never find empty string, just error.

Also add a test that an invalid expr generates an error.

Reviewed By: JDevlieghere

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




More information about the All-commits mailing list