summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
Commit message (Collapse)AuthorAgeFilesLines
* Pass std::string to constructor as const reference to avoid multipleAlkis Evlogimenos2004-01-061-1/+1
| | | | | | copies. llvm-svn: 10705
* Not all platforms supports sighandler_t, so I changed it to use the olderJohn Criswell2004-01-011-1/+1
| | | | | | | | return value from signal() (which should be the same type; it's just not typedef'd). This fixes the build on Solaris. llvm-svn: 10675
* * Add a new helper progress methodChris Lattner2003-12-311-4/+11
| | | | | | | * Make sure that the user sees the 100% mark * Don't bother printing out X.0%, just print out X% llvm-svn: 10672
* Add missing #includeChris Lattner2003-12-311-0/+1
| | | | llvm-svn: 10669
* Add new functionChris Lattner2003-12-311-0/+13
| | | | llvm-svn: 10664
* New class, useful for command-line interactive programs.Chris Lattner2003-12-311-0/+94
| | | | llvm-svn: 10662
* Add new methodChris Lattner2003-12-301-0/+10
| | | | llvm-svn: 10649
* Further revisions of the FDHandle idea. In this version we use ownershipChris Lattner2003-12-301-8/+0
| | | | | | | semantics that are the same as those used by std::auto_ptr. This allows copying of FDHandle's, but copying transfers ownership. llvm-svn: 10646
* Add trivial exception specs to produce better code since the methods cannotChris Lattner2003-12-291-3/+3
| | | | | | be inlined. llvm-svn: 10643
* Factor FDHandle out of the bytecode reader into the FileUtilities.h supportChris Lattner2003-12-291-0/+23
| | | | | | routines. llvm-svn: 10642
* implement new getToken functionChris Lattner2003-12-291-0/+43
| | | | llvm-svn: 10639
* Finegrainify namespacificationChris Lattner2003-12-1413-108/+73
| | | | llvm-svn: 10464
* Finegrainify namespacificationChris Lattner2003-12-142-9/+7
| | | | | | Make the Timer code give correct user/system/user+system times when -track-memory is enabled llvm-svn: 10463
* Lock abstraction, introduced with a view toward making the JIT thread-safe.Brian Gaeke2003-12-011-0/+24
| | | | | | Eventually. llvm-svn: 10284
* Fix copy-pasto.Misha Brukman2003-11-241-2/+2
| | | | llvm-svn: 10197
* Add ability to query if a file is a legitimate ELF shared object.Misha Brukman2003-11-241-0/+10
| | | | llvm-svn: 10193
* Only use -Wl,-R. if HAVE_LINK_R.Brian Gaeke2003-11-181-0/+3
| | | | llvm-svn: 10066
* Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke2003-11-1115-2/+62
| | | | llvm-svn: 9903
* Move IsArchive and IsBytecode here from gccld. Refactor into CheckMagic.Brian Gaeke2003-11-111-0/+29
| | | | llvm-svn: 9901
* Add implementation of FileOpenable().Brian Gaeke2003-11-111-96/+41
| | | | | | Refactor MakeFileExecutable() & MakeFileExecutable() into AddPermissionsBits(). llvm-svn: 9892
* Attempt to provide support for those without RTLD_DEFAULT.Chris Lattner2003-10-251-0/+5
| | | | llvm-svn: 9503
* Added LLVM copyright notice to Makefiles.John Criswell2003-10-201-0/+8
| | | | llvm-svn: 9312
* Added LLVM project notice to the top of every C++ source file.John Criswell2003-10-2015-0/+105
| | | | | | Header files will be on the way. llvm-svn: 9298
* Add debugtype, make output marginally more niceChris Lattner2003-10-191-3/+4
| | | | llvm-svn: 9251
* Fix PR #47Chris Lattner2003-10-191-3/+3
| | | | llvm-svn: 9250
* Without this option, the -run-llc mode does not work with shared objects atChris Lattner2003-10-181-0/+1
| | | | | | | all, making it pointless for use with the code generator debugger. With it, it works like a charm. llvm-svn: 9245
* Fix up error message.Brian Gaeke2003-10-151-1/+2
| | | | llvm-svn: 9139
* Generalize abstract interpreter interface to allow linking in an arbitrary ↵Chris Lattner2003-10-141-18/+23
| | | | | | number of shared objects llvm-svn: 9129
* Substantial cleanups:Chris Lattner2003-10-141-28/+35
| | | | | | | | | | | | | * Add header comment * Remove extraneous #includes * Move the FileType enum into the GCC class * The GCC class is not virtual. * Move all of the "constructor" functions into the classes themselves * Stop using cl::list as arguments, use std::vector instead (which cl::list derives from) * Improve comments llvm-svn: 9121
* Actually return an error if something bad happens, don't just exit.Chris Lattner2003-10-141-5/+4
| | | | llvm-svn: 9119
* LLI no longer has -abort-on-exceptionChris Lattner2003-10-131-1/+0
| | | | llvm-svn: 9097
* Regularize header file commentsChris Lattner2003-10-131-1/+1
| | | | llvm-svn: 9071
* Don't include Config/stdio.h or <stdio.h>.Brian Gaeke2003-10-101-2/+0
| | | | llvm-svn: 9031
* Change to use LinkDynamicObject instead of dlopen.Brian Gaeke2003-10-101-3/+5
| | | | llvm-svn: 9011
* Change to use strtoul instead of strtoll.Brian Gaeke2003-10-101-2/+7
| | | | llvm-svn: 9010
* Add my abstracted dynamic linker support files.Brian Gaeke2003-10-101-0/+42
| | | | llvm-svn: 9008
* ToolRunner.h has been moved from include/Support to include/llvm/Support.Misha Brukman2003-10-061-1/+1
| | | | llvm-svn: 8898
* Implement the NamedRegionTimer classChris Lattner2003-10-061-0/+18
| | | | llvm-svn: 8889
* Move support/lib/Support back to lib/SupportChris Lattner2003-10-051-1/+1
| | | | llvm-svn: 8874
* Fixed space issues, code alignment, tabs -> spaces.Misha Brukman2003-09-291-11/+11
| | | | llvm-svn: 8755
* Implementation of the abstraction of running our tools + gcc, taken out ofMisha Brukman2003-09-291-0/+374
| | | | | | bugpoint for general usage and enjoyment. llvm-svn: 8754
* Moved code from llvm/lib/Support to llvm/support/lib/Support.John Criswell2003-09-291-1/+1
| | | | llvm-svn: 8735
* In ExecWait(), made the child process exit if it can't execve() the newJohn Criswell2003-09-171-13/+23
| | | | | | | | program. Added the use of const (which compiles and is hopefully correct). Added comments. llvm-svn: 8585
* Added the ExecWait() function. It executes a program with the specifiedJohn Criswell2003-09-171-0/+98
| | | | | | | | | arguments and environment. Perhaps it should be merged with the RunProgramWithTimeout function, but I'd want to allow it to inherit the parent process's stdin and stdout. I'll save that for a rainy day... llvm-svn: 8577
* Add missing apostrophe. It's been bugging me for years.Brian Gaeke2003-09-161-1/+1
| | | | | | No really, years. llvm-svn: 8566
* Fixed spelling & grammar.Misha Brukman2003-09-164-4/+4
| | | | llvm-svn: 8559
* Added the MakeFileReadable() method.John Criswell2003-09-021-0/+54
| | | | llvm-svn: 8327
* Added a description of the algorithm.John Criswell2003-09-021-7/+14
| | | | | | Return failure if the chmod() fails. llvm-svn: 8326
* Added the MakeFileExecutable() method. This method takes a filename andJohn Criswell2003-09-021-0/+50
| | | | | | gives it execute access while respecting the user's umask. llvm-svn: 8324
* Mangle ALL letters that we do not allow, not just a few.Chris Lattner2003-08-241-14/+26
| | | | llvm-svn: 8140
OpenPOWER on IntegriCloud