forked from OSchip/llvm-project
Small tweak to the name of kernel binaries that we look
for; match files starting with "mach", not "mach." so the old common name mach_kernel will still be matched. llvm-svn: 227552
This commit is contained in:
parent
9ee161ea13
commit
ab223c1ec8
|
@ -744,7 +744,7 @@ PlatformDarwinKernel::GetKernelsInDirectory (void *baton,
|
|||
{
|
||||
ConstString filename = file_spec.GetFilename();
|
||||
if (strncmp (filename.GetCString(), "kernel", 6) == 0
|
||||
|| strncmp (filename.GetCString(), "mach.", 5) == 0)
|
||||
|| strncmp (filename.GetCString(), "mach", 4) == 0)
|
||||
{
|
||||
// This is m_kernel_binaries but we're in a class method here
|
||||
((std::vector<lldb_private::FileSpec> *)baton)->push_back(file_spec);
|
||||
|
|
Loading…
Reference in New Issue