[all-commits] [llvm/llvm-project] 011a8e: [debugserver] Fix logic to extract app bundle from...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Wed Feb 24 23:09:00 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 011a8e218ea32e1c8bbbeb5925def894ac6513a4
      https://github.com/llvm/llvm-project/commit/011a8e218ea32e1c8bbbeb5925def894ac6513a4
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2021-02-24 (Wed, 24 Feb 2021)

  Changed paths:
    M lldb/tools/debugserver/source/MacOSX/MachProcess.mm

  Log Message:
  -----------
  [debugserver] Fix logic to extract app bundle from file path

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

Differential revision: https://reviews.llvm.org/D97441




More information about the All-commits mailing list