diff options
Diffstat (limited to 'lldb/source/Host/macosx/Symbols.cpp')
-rw-r--r-- | lldb/source/Host/macosx/Symbols.cpp | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/lldb/source/Host/macosx/Symbols.cpp b/lldb/source/Host/macosx/Symbols.cpp index eb7341d6dad..c49592eddc7 100644 --- a/lldb/source/Host/macosx/Symbols.cpp +++ b/lldb/source/Host/macosx/Symbols.cpp @@ -244,12 +244,10 @@ FileAtPathContainsArchAndUUID return false; } -static FileSpec -LocateDSYMMachFileInDSYMBundle -( - const FileSpec& dsym_bundle_fspec, - const lldb_private::UUID *uuid, - const ArchSpec *arch) +FileSpec +Symbols::FindSymbolFileInBundle (const FileSpec& dsym_bundle_fspec, + const lldb_private::UUID *uuid, + const ArchSpec *arch) { char path[PATH_MAX]; @@ -361,7 +359,7 @@ LocateMacOSXFilesUsingDebugSymbols if (out_dsym_fspec->GetFileType () == FileSpec::eFileTypeDirectory) { - *out_dsym_fspec = LocateDSYMMachFileInDSYMBundle (*out_dsym_fspec, uuid, arch); + *out_dsym_fspec = Symbols::FindSymbolFileInBundle (*out_dsym_fspec, uuid, arch); if (*out_dsym_fspec) ++items_found; } |