[all-commits] [llvm/llvm-project] 8b4147: [GDBRemote] Fix processing of comma-separated memo...

Felipe de Azevedo Piovezan via All-commits all-commits at lists.llvm.org
Fri Aug 23 13:09:54 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8b4147d14c460f8886e882db48361d4c101917d7
      https://github.com/llvm/llvm-project/commit/8b4147d14c460f8886e882db48361d4c101917d7
  Author: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
  Date:   2024-08-23 (Fri, 23 Aug 2024)

  Changed paths:
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
    M lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp

  Log Message:
  -----------
  [GDBRemote] Fix processing of comma-separated memory region entries (#105873)

The existing algorithm was performing the following comparisons for an
`aaa,bbb,ccc,ddd`:

aaa\0bbb,ccc,ddd == "stack"
aaa\0bbb\0ccc,ddd == "stack"
aaa\0bbb\0ccc\0ddd == "stack"

Which wouldn't work. This commit just dispatches to a known algorithm
implementation.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list