[Lldb-commits] [PATCH] D97441: [debugserver] Fix logic to extract app bundle from file path

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Feb 24 22:19:27 PST 2021


JDevlieghere created this revision.
JDevlieghere added a reviewer: jasonmolenda.
JDevlieghere requested review of this revision.

Fix the logic to find the app bundle in a path by correctly accounting for paths containing multiple occurrences of `.app`.  The new logic will correctly extract `com.app.Foo.app` from `com.app.Foo.app/com.app.Foo`.

rdar://74666208


https://reviews.llvm.org/D97441

Files:
  lldb/tools/debugserver/source/MacOSX/MachProcess.mm

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97441.326284.patch
Type: text/x-patch
Size: 5234 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20210225/e379dfdb/attachment.bin>


More information about the lldb-commits mailing list