summaryrefslogtreecommitdiffstats
path: root/lldb/source/Host/macosx
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2012-09-12 02:03:59 +0000
committerGreg Clayton <gclayton@apple.com>2012-09-12 02:03:59 +0000
commit103f02820d20fd880792d3f4c179aead198597d5 (patch)
treed3ba404eca84dd4d9e7761095b6e4d082867c879 /lldb/source/Host/macosx
parenta3606adf9072b1e0d34bf5f40e257a2c68e09222 (diff)
downloadbcm5719-llvm-103f02820d20fd880792d3f4c179aead198597d5.tar.gz
bcm5719-llvm-103f02820d20fd880792d3f4c179aead198597d5.zip
<rdar://problem/11374963>
Partial fix for the above radar where we now resolve dsym mach-o files within the dSYM bundle when using "add-dsym" through the platform. llvm-svn: 163676
Diffstat (limited to 'lldb/source/Host/macosx')
-rw-r--r--lldb/source/Host/macosx/Symbols.cpp12
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;
}
OpenPOWER on IntegriCloud