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
Paths
| Differential D97441
[debugserver] Fix logic to extract app bundle from file path ClosedPublic Authored by JDevlieghere on Feb 24 2021, 10:19 PM.
Details Summary 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
Diff Detail
Event TimelineJDevlieghere created this revision. Comment Actions Nice, LGTM.
This revision is now accepted and ready to land.Feb 24 2021, 10:37 PM This revision was landed with ongoing or failed builds.Feb 24 2021, 11:08 PM Closed by commit rG011a8e218ea3: [debugserver] Fix logic to extract app bundle from file path (authored by JDevlieghere). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 326292 lldb/tools/debugserver/source/MacOSX/MachProcess.mm
|
I wouldn't conditionalize these messages on LOG_PROCESS, I would log unconditionally if the app launch failed (just DNBLog the errors, IMO)