llvm-6502/include/llvm/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
..
AIXDataTypesFix.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
AlignOf.h Removed trailing whitespace. 2009-02-20 22:51:36 +00:00
Allocator.h Re-committing changes from r76825 to BumpPtrAllocator with a fix and tests for 2009-07-23 18:34:13 +00:00
CallSite.h Use the default copy ctor and copy-assignment operators. 2009-08-01 19:11:31 +00:00
Casting.h Roll back rev 59890, since Chris says this can never happen. 2008-11-23 19:22:48 +00:00
CFG.h For PR1338: rename include/llvm/ADT/ilist and friends to end with ".h" 2008-05-29 17:41:17 +00:00
CommandLine.h Fix some comments referring to std::cerr. 2009-08-03 01:02:24 +00:00
Compiler.h Introduce new error handling API. 2009-07-07 17:32:34 +00:00
ConstantFolder.h Move ConstantExpr to 2.5 API. 2009-07-29 18:55:55 +00:00
ConstantRange.h Replace intersectWith with maximalIntersectWith. The latter guarantees that 2009-07-18 06:34:42 +00:00
DataFlow.h Make dataflow iteration possible on Value*, not only on User*: df_ext_iterator<Value*, SmallPtrSet<const Value*, 16> > 2009-04-30 17:09:22 +00:00
DataTypes.h.cmake Include cmath/math.h in DataTypes.h regardless of whether MSVC is being used. 2009-07-28 13:41:07 +00:00
DataTypes.h.in Include cmath/math.h in DataTypes.h regardless of whether MSVC is being used. 2009-07-28 13:41:07 +00:00
Debug.h Fix comment. 2009-07-20 16:50:16 +00:00
DebugLoc.h Add line numbers to OProfile. To do this, I added a processDebugLoc() 2009-07-16 21:07:26 +00:00
DOTGraphTraits.h Get rid of the global CFGOnly flag by threading a ShortNames parameters through the GraphViz rendering code. 2009-06-24 17:37:09 +00:00
Dwarf.h Add DW_AT_APPLE_isa and DW_AT_APPLE_block. Radar 6867696 2009-05-11 21:58:01 +00:00
DynamicLinker.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
ELF.h Add AMD64 elf machine type 2009-05-30 21:05:47 +00:00
ErrorHandling.h Allow llvm_report_error to accept a Twine. 2009-07-24 07:58:10 +00:00
FileUtilities.h Removed trailing whitespace. 2009-02-20 22:51:36 +00:00
Format.h Add C++ marker. 2009-03-10 15:56:48 +00:00
FormattedStream.h Re-apply previous changes and improve column padding performance some more. 2009-07-29 16:08:27 +00:00
GetElementPtrTypeIterator.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
GraphWriter.h only point to dest labels if the graph has them 2009-08-05 15:04:22 +00:00
InstIterator.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
InstVisitor.h Clean up some comments. 2009-07-15 22:43:51 +00:00
IRBuilder.h Move a few more APIs back to 2.5 forms. The only remaining ones left to change back are 2009-07-31 20:28:14 +00:00
LeakDetector.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
ManagedStatic.h Resolve undefined behaviour when ManagedStatic is instantiated with a fixed-length array type. 2009-07-09 17:26:16 +00:00
Mangler.h Rename Mangler linkage enums to something less gross. 2009-07-20 19:41:27 +00:00
MathExtras.h Fix PR4614: the Intel C compiler defines _GNUC__ 2009-07-23 19:08:27 +00:00
MemoryBuffer.h Removed trailing whitespace. 2009-02-20 22:51:36 +00:00
MemoryObject.h Thanks, Bill! 2009-07-27 19:45:28 +00:00
MutexGuard.h Tidy up #includes, deleting a bunch of unnecessary #includes. 2009-01-05 17:59:02 +00:00
NoFolder.h Move ConstantExpr to 2.5 API. 2009-07-29 18:55:55 +00:00
OutputBuffer.h Simple ELF32/64 binary files can now be emitted for x86 and x86_64 without 2009-06-07 21:22:38 +00:00
PassNameParser.h llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable. 2009-07-14 16:55:14 +00:00
PatternMatch.h Move ConstantExpr to 2.5 API. 2009-07-29 18:55:55 +00:00
PluginLoader.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
PointerLikeTypeTraits.h Drop the default assumption about alignment down to 2 bits from 3. This apparently 2009-05-01 23:48:33 +00:00
PredIteratorCache.h Add caching of predecessor counts as well as predecessors themselves. 2009-04-22 08:46:33 +00:00
PrettyStackTrace.h add a knob to turn off PrettyStackTrace globally. Patch by Zoltan 2009-07-16 06:17:45 +00:00
raw_ostream.h Add raw_ostream::write_hex 2009-07-30 18:21:23 +00:00
Recycler.h ooops, forgot to include the pointless-write eliminator in my previous checkin 2009-03-04 21:54:31 +00:00
RecyclingAllocator.h Fold the useful features of alist and alist_node into ilist, and 2008-07-28 21:51:04 +00:00
Registry.h Registry.h should not depend on CommandLine.h. 2009-01-16 07:02:28 +00:00
RegistryParser.h Registry.h should not depend on CommandLine.h. 2009-01-16 07:02:28 +00:00
SlowOperationInformer.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
SourceMgr.h switch the .ll parser to use SourceMgr. 2009-07-02 23:08:13 +00:00
StableBasicBlockNumbering.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
StandardPasses.h Disable loop index split for now and let nightly tester verify its usefulness. 2009-07-07 22:09:42 +00:00
Streams.h Removed trailing whitespace. 2009-02-20 22:51:36 +00:00
StringPool.h Convert StringMap to using StringRef for its APIs. 2009-07-23 18:17:34 +00:00
SystemUtils.h Fix FindExecutable to use sys::Path::GetMainExecutable instead of 2009-08-05 20:21:17 +00:00
TargetFolder.h Factor some of the constants+context related code out into a separate header, to make LLVMContextImpl.h 2009-08-04 22:41:48 +00:00
Timer.h Make timers threadsafe again. This isn't quite as nice as I'd hoped (it uses locking rather than atomic arithmetic), 2009-06-23 20:52:29 +00:00
type_traits.h Add some type traits that are used for Clang's statically-checked 2009-08-04 17:04:52 +00:00
TypeBuilder.h Move types back to the 2.5 API. 2009-07-29 22:17:13 +00:00
ValueHandle.h Teach ValueHandleBase to treat DenseMap's special Empty and Tombstone 2009-07-31 18:20:18 +00:00