summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
Commit message (Collapse)AuthorAgeFilesLines
* When an error occurs executing a tool, we now throw an exception insteadChris Lattner2004-02-181-43/+22
| | | | | | of calling exit(1). llvm-svn: 11593
* The C backend is no longer in llvm-dis, it's in llcChris Lattner2004-02-171-11/+11
| | | | llvm-svn: 11533
* Fix a bug in the recent rewrite of the leakdetector that caused all of theChris Lattner2004-02-151-7/+10
| | | | | | | nightly tests to be really messed up. The problem was that the new leakdetector was depending on undefined behavior: the order of destruction of static objects. llvm-svn: 11488
* Modularize implementation of LeakDetector into a typed templateAlkis Evlogimenos2004-02-141-59/+76
| | | | | | | | implementation class. This makes the code simpler and allows for more types to be added easily. It also implements caching for generic objects (it was only available for llvm objects). llvm-svn: 11452
* Fix the logic in the name mangler. If there are two symbols named 'X', and oneChris Lattner2004-02-141-12/+27
| | | | | | is external, make sure to mangle the *internal* one, not external one llvm-svn: 11424
* Initialize the count instance variable.Chris Lattner2004-02-111-1/+1
| | | | llvm-svn: 11305
* Fixes for PR214. Use the SHLIBEXT variable instead of hardcoding .so intoJohn Criswell2004-01-262-2/+2
| | | | | | every file. llvm-svn: 10976
* This file goes awayChris Lattner2004-01-171-24/+0
| | | | llvm-svn: 10905
* Remove use of ConstantHandling itfChris Lattner2004-01-121-24/+31
| | | | llvm-svn: 10800
* Remove config wrapper around <cerrno>Chris Lattner2004-01-101-5/+5
| | | | llvm-svn: 10747
* 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
OpenPOWER on IntegriCloud