[Lldb-commits] [lldb] r183862 - Use the global functions instead of the Program methods.

Rafael Espindola rafael.espindola at gmail.com
Wed Jun 12 13:47:14 PDT 2013


Author: rafael
Date: Wed Jun 12 15:47:14 2013
New Revision: 183862

URL: http://llvm.org/viewvc/llvm-project?rev=183862&view=rev
Log:
Use the global functions instead of the Program methods.

Modified:
    lldb/trunk/source/Host/common/FileSpec.cpp

Modified: lldb/trunk/source/Host/common/FileSpec.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/common/FileSpec.cpp?rev=183862&r1=183861&r2=183862&view=diff
==============================================================================
--- lldb/trunk/source/Host/common/FileSpec.cpp (original)
+++ lldb/trunk/source/Host/common/FileSpec.cpp Wed Jun 12 15:47:14 2013
@@ -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();





More information about the lldb-commits mailing list