[lldb] Make TestModuleLoadedNotifys work with dyld from the shared cache
authorJonas Devlieghere <jonas@devlieghere.com>
Wed, 3 Aug 2022 20:41:33 +0000 (13:41 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Wed, 3 Aug 2022 21:24:42 +0000 (14:24 -0700)
commit2b61b770df813539b38b620efcae8fd3d11faad2
tree65b583fae632ff8484f5386ce80ba530e9e76418
parent880b2128ef4b884612a59836583a5d3d4108fb43
[lldb] Make TestModuleLoadedNotifys work with dyld from the shared cache

Make TestModuleLoadedNotifys work with a dyld from the expanded shared
cache in the DeviceSupport directory. In that case the module path is:

  ~/Library/Developer/Xcode/iOS DeviceSupport/<...>/Symbols/usr/lib/dyld

instead of just:

  /usr/lib/dyld

This makes the test pass when running against an embedded Darwin device.
lldb/test/API/functionalities/target-new-solib-notifications/TestModuleLoadedNotifys.py