summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/Target.cpp
diff options
context:
space:
mode:
authorSteve Pucci <spucci@google.com>2014-01-17 18:18:31 +0000
committerSteve Pucci <spucci@google.com>2014-01-17 18:18:31 +0000
commitfc99572540f6012d0f5147dddcb4a7fdefb7af0e (patch)
treec49a05c3c1a95dd82145c1e3cda45e3817e6f029 /lldb/source/Target/Target.cpp
parent21afbe034e7d438ecd2b07592cbab481335af668 (diff)
downloadbcm5719-llvm-fc99572540f6012d0f5147dddcb4a7fdefb7af0e.tar.gz
bcm5719-llvm-fc99572540f6012d0f5147dddcb4a7fdefb7af0e.zip
Rename Platform::GetFile (3-arg version) to GetFileWithUUID
This rename was suggested by gclayton as a way to silence gcc warnings; the warning is emitted when there is an overloaded function in a base class (Platform) for which a derived class redefines one of the overloads but not the other (because doing so hides the other overload from users of the derived class). By giving the two methods different names, the situation is avoided. llvm-svn: 199504
Diffstat (limited to 'lldb/source/Target/Target.cpp')
-rw-r--r--lldb/source/Target/Target.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Target/Target.cpp b/lldb/source/Target/Target.cpp
index a34d53e88f8..c53c1e3c1c2 100644
--- a/lldb/source/Target/Target.cpp
+++ b/lldb/source/Target/Target.cpp
@@ -1067,7 +1067,7 @@ Target::SetExecutableModule (ModuleSP& executable_sp, bool get_dependent_files)
FileSpec dependent_file_spec (dependent_files.GetFileSpecPointerAtIndex(i));
FileSpec platform_dependent_file_spec;
if (m_platform_sp)
- m_platform_sp->GetFile (dependent_file_spec, NULL, platform_dependent_file_spec);
+ m_platform_sp->GetFileWithUUID (dependent_file_spec, NULL, platform_dependent_file_spec);
else
platform_dependent_file_spec = dependent_file_spec;
OpenPOWER on IntegriCloud