diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-12 20:47:14 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-12 20:47:14 +0000 |
commit | 6ba87f65e6699aba0e2aa2ff28e0ab994879f050 (patch) | |
tree | 9b963ad1d400756f331ccc5612933f93726172b4 /lldb/source/Host/common/FileSpec.cpp | |
parent | a3346d87650464113d6d38f055ea860cb0d53b73 (diff) | |
download | bcm5719-llvm-6ba87f65e6699aba0e2aa2ff28e0ab994879f050.tar.gz bcm5719-llvm-6ba87f65e6699aba0e2aa2ff28e0ab994879f050.zip |
Use the global functions instead of the Program methods.
llvm-svn: 183862
Diffstat (limited to 'lldb/source/Host/common/FileSpec.cpp')
-rw-r--r-- | lldb/source/Host/common/FileSpec.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Host/common/FileSpec.cpp b/lldb/source/Host/common/FileSpec.cpp index bed68e2aa6e..538459014ee 100644 --- a/lldb/source/Host/common/FileSpec.cpp +++ b/lldb/source/Host/common/FileSpec.cpp @@ -552,7 +552,7 @@ FileSpec::ResolveExecutableLocation () if (file_cstr) { const std::string file_str (file_cstr); - llvm::sys::Path path = llvm::sys::Program::FindProgramByName (file_str); + llvm::sys::Path path = llvm::sys::FindProgramByName (file_str); const std::string &path_str = path.str(); llvm::StringRef dir_ref = llvm::sys::path::parent_path(path_str); //llvm::StringRef dir_ref = path.getDirname(); |