[Lldb-commits] [PATCH] D47539: [Platform] Accept arbitrary kext variants

2018-06-07 Thread Jonas Devlieghere via Phabricator via lldb-commits
This revision was not accepted when it landed; it landed in state "Needs Review". This revision was automatically updated to reflect the committed changes. Closed by commit rL334205: [Platform] Accept arbitrary kext variants (authored by JDevlieghere, committed by ). Herald added a subscriber:

[Lldb-commits] [PATCH] D47539: [Platform] Accept arbitrary kext variants

2018-05-31 Thread Jonas Devlieghere via Phabricator via lldb-commits
JDevlieghere added a comment. In https://reviews.llvm.org/D47539#1117114, @jasonmolenda wrote: > LGTM. If we added more knowledge specifically about kext bundle layouts, we > could restrict which files we test to see if they are valid binaries - but > we'd need to parse the Info.plist at the

[Lldb-commits] [PATCH] D47539: [Platform] Accept arbitrary kext variants

2018-05-30 Thread Jason Molenda via Phabricator via lldb-commits
jasonmolenda added a comment. LGTM. If we added more knowledge specifically about kext bundle layouts, we could restrict which files we test to see if they are valid binaries - but we'd need to parse the Info.plist at the top (to get the CFBundleExecutable name, and look for variations on

[Lldb-commits] [PATCH] D47539: [Platform] Accept arbitrary kext variants

2018-05-30 Thread Jonas Devlieghere via Phabricator via lldb-commits
JDevlieghere updated this revision to Diff 149143. JDevlieghere added a comment. Don't use `EnumerateDirectory` https://reviews.llvm.org/D47539 Files: source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp source/Plugins/Platform/MacOSX/PlatformDarwinKernel.h Index:

[Lldb-commits] [PATCH] D47539: [Platform] Accept arbitrary kext variants

2018-05-30 Thread Jonas Devlieghere via Phabricator via lldb-commits
JDevlieghere created this revision. JDevlieghere added reviewers: jasonmolenda, labath. When loading kexts in `PlatformDarwinKernel`, we use the BundleID as the filename to to create shared modules. In `GetSharedModule` we call `ExamineKextForMatchingUUID` for any BundleID it finds that is a