If the file the user specifies can't be found in the current directory,
and the user didn't specify a particular directory, search for the file
using the $PATH environment variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113575 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/API/SBFileSpec.cpp b/source/API/SBFileSpec.cpp
index e1a8399..5ec93f3 100644
--- a/source/API/SBFileSpec.cpp
+++ b/source/API/SBFileSpec.cpp
@@ -61,6 +61,13 @@
return false;
}
+bool
+SBFileSpec::ResolveExecutableLocation ()
+{
+ if (m_opaque_ap.get())
+ return m_opaque_ap->ResolveExecutableLocation ();
+ return false;
+}
int
SBFileSpec::ResolvePath (const char *src_path, char *dst_path, size_t dst_len)