llvm/lib/Support
Dan Gohman 197f728d49 Fix FindExecutable to use sys::Path::GetMainExecutable instead of
just argv[0]. And remove the code for searching the current
working directory and for searching PATH; the point of FindExecutable
is not to find whatever version of the executable can be found by
searching around, but to find an executable that accompanies the
current executable.

Update the tools to use sys::Program::FindProgramByName when they
want PATH searching.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78240 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-05 20:21:17 +00:00
..
Allocator.cpp
APFloat.cpp
APInt.cpp
APSInt.cpp
CMakeLists.txt Update CMake files. 2009-07-31 18:50:22 +00:00
CommandLine.cpp Remove duplicated colons and spaces. 2009-08-02 12:13:02 +00:00
ConstantRange.cpp
Debug.cpp
Dwarf.cpp
ErrorHandling.cpp
FileUtilities.cpp
FoldingSet.cpp
FormattedStream.cpp Re-apply previous changes and improve column padding performance some more. 2009-07-29 16:08:27 +00:00
GraphWriter.cpp cerr isn't buffered so it doesn't need to be flushed. 2009-08-05 00:44:01 +00:00
IsInf.cpp
IsNAN.cpp
Makefile
ManagedStatic.cpp
MemoryBuffer.cpp
PluginLoader.cpp
PrettyStackTrace.cpp
raw_ostream.cpp Add raw_ostream::write_hex 2009-07-30 18:21:23 +00:00
SlowOperationInformer.cpp
SmallPtrSet.cpp
SourceMgr.cpp
Statistic.cpp
Streams.cpp
StringExtras.cpp
StringMap.cpp
StringPool.cpp
SystemUtils.cpp Fix FindExecutable to use sys::Path::GetMainExecutable instead of 2009-08-05 20:21:17 +00:00
TargetRegistry.cpp Remove now unused arguments from TargetRegistry::lookupTarget. 2009-08-03 04:20:57 +00:00
Timer.cpp
Triple.cpp Pass target triple string in to TargetMachine constructor. 2009-08-03 04:03:51 +00:00
Twine.cpp Add missing flush(). 2009-08-02 04:12:28 +00:00