summaryrefslogtreecommitdiff
path: root/lib/Support
Commit message (Collapse)AuthorAge
* Move these files (which are dependent on VMCore) into VMCoreMisha Brukman2004-08-16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15825 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow any cl::opt to use the method getPosition() to retrieve the option'sReid Spencer2004-08-13
| | | | | | | | | | | | | | absolute position on the command line. Similarly allow any cl::list to use the method getPosition(n) to retrieve the absolute position of the nth option in the list. This provides support for two things: (a) options like -l that are actually positional and their order of occurrence matters when they are intermixed with positional arguments like "a.o"; and (b) options like -x LANG which affect only the positional arguments that come after the option. In both cases, knowing the absolute position of a given option helps. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15725 91177308-0d34-0410-b5e6-96231b3b80d8
* It is not possible to catch SIGKILL, don't bother trying.Chris Lattner2004-08-04
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15496 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a --version option for every tool that prints out:Reid Spencer2004-08-04
| | | | | | | Low Level Virtual Machine ($PACKAGE_NAME) $PACKAGE_VERSION git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15454 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove linux/solaris specific stuff.Chris Lattner2004-07-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15195 91177308-0d34-0410-b5e6-96231b3b80d8
* Get rid of the printout from the low-level system interfaceChris Lattner2004-07-24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15161 91177308-0d34-0410-b5e6-96231b3b80d8
* Pass timeouts into the low level "execute program with timeout" functionChris Lattner2004-07-24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15160 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for killing the program if it executes for too long.Chris Lattner2004-07-24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15158 91177308-0d34-0410-b5e6-96231b3b80d8
* These files don't need to include <iostream> since they include ↵Brian Gaeke2004-07-21
| | | | | | "Support/Debug.h". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15089 91177308-0d34-0410-b5e6-96231b3b80d8
* Solaris hack for isinf()Brian Gaeke2004-07-21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15058 91177308-0d34-0410-b5e6-96231b3b80d8
* Add platform-independent wrapper function for isinf().Brian Gaeke2004-07-21
| | | | | | | Patch contributed by Bill Wendling. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15050 91177308-0d34-0410-b5e6-96231b3b80d8
* Err, fix last checkinChris Lattner2004-07-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14995 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix bugpoint miscompilation support on OS/XChris Lattner2004-07-19
| | | | | | | Patch contributed by the fabulous Nate Begeman. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14994 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a workaround for a GCC 3.3.2 bugChris Lattner2004-07-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14976 91177308-0d34-0410-b5e6-96231b3b80d8
* Correctly build shared objects on MacOS X for debugging code generatorsMisha Brukman2004-07-16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14892 91177308-0d34-0410-b5e6-96231b3b80d8
* Bug fixes for PR341Chris Lattner2004-07-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14838 91177308-0d34-0410-b5e6-96231b3b80d8
* Implicitly getting a new option by linking to support.o instead of support.aChris Lattner2004-07-11
| | | | | | | | is a bad idea. Make tools that want the option #include PluginSupport.h explicitly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14738 91177308-0d34-0410-b5e6-96231b3b80d8
* Do not call Type::getUniqueIDChris Lattner2004-07-08
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14706 91177308-0d34-0410-b5e6-96231b3b80d8
* Work around apparent Apple compiler bug which was making all mangledBrian Gaeke2004-07-06
| | | | | | | names start with l0_. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14651 91177308-0d34-0410-b5e6-96231b3b80d8
* Add #include <iostream> since Value.h does not #include it any more.Reid Spencer2004-07-04
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14622 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix compilation on internixChris Lattner2004-07-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14588 91177308-0d34-0410-b5e6-96231b3b80d8
* Wrapper for c99 isnan()Brian Gaeke2004-06-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14338 91177308-0d34-0410-b5e6-96231b3b80d8
* * Fix file header and nameMisha Brukman2004-06-18
| | | | | | | * Order #includes alphabetically git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14234 91177308-0d34-0410-b5e6-96231b3b80d8
* Use the machine-independent method of querying the page size.Misha Brukman2004-06-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14233 91177308-0d34-0410-b5e6-96231b3b80d8
* Make all of this functionality work directly on win32. Properly conditionalizeChris Lattner2004-06-07
| | | | | | | system specific stuff on HAVE_MKSTEMP git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14051 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement getTimeRecord natively in Win32, properly conditionalize theChris Lattner2004-06-07
| | | | | | | getrusage implementation on HAVE_GETRUSAGE git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14050 91177308-0d34-0410-b5e6-96231b3b80d8
* Include cerrno.Alkis Evlogimenos2004-06-05
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14041 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement the new CopyFile functionChris Lattner2004-06-02
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13945 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix spelling, trim empty space, tighten up function header comment.Misha Brukman2004-06-02
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13940 91177308-0d34-0410-b5e6-96231b3b80d8
* Moved this file to lib/Bytecode/Writer because its used there only.Reid Spencer2004-05-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13900 91177308-0d34-0410-b5e6-96231b3b80d8
* Thoroughly rehack the dynamic linking mechanisms on Win32. The Win32Chris Lattner2004-05-28
| | | | | | | | | | | | dynamic linker does not automatically search libraries when looking up symbols with GetProcAddress. Because of this we have to emulate it. The only detail is that there doesn't seem to be a way to enumerate the libraries loaded, so we have a gross hack (tm). This make the JIT functional on win32 under cygwin. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13887 91177308-0d34-0410-b5e6-96231b3b80d8
* Prune #includesChris Lattner2004-05-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13886 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for getting executable memory on Windows. This is actuallyChris Lattner2004-05-28
| | | | | | | | | | | much easier than on unix. :) The only evil thing is that windows.h defines a macro named FindExecutable, which collides with one of our names. The JIT now runs on windows, but it cannot resolve external functions (like printf) yet. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13871 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a new function for the JIT. libsupport is now the only library thatChris Lattner2004-05-28
| | | | | | | includes mman.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13870 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for zero length filesChris Lattner2004-05-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13866 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a pair of functions to hide system specific details of mapping a file in ↵Chris Lattner2004-05-28
| | | | | | for reading. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13863 91177308-0d34-0410-b5e6-96231b3b80d8
* Add DynamicLinker support for systems that provide windows.hChris Lattner2004-05-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13851 91177308-0d34-0410-b5e6-96231b3b80d8
* Signals.h header moved. Eventually this should move into a lib/System library,Chris Lattner2004-05-27
| | | | | | | but not right now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13811 91177308-0d34-0410-b5e6-96231b3b80d8
* Changes to make libSupport build on systems that don't have the wait syscall.Chris Lattner2004-05-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13806 91177308-0d34-0410-b5e6-96231b3b80d8
* Put SlotTable.h inclusion back at front of list to be coding standardsReid Spencer2004-05-25
| | | | | | | compliant. Thanks, Chris. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13771 91177308-0d34-0410-b5e6-96231b3b80d8
* Make some improvements suggested by Chris.Reid Spencer2004-05-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13765 91177308-0d34-0410-b5e6-96231b3b80d8
* Adding the initial implementation of the SlotTable class. This class isReid Spencer2004-05-25
| | | | | | | | | | | | | | the Abstract Data Type that holds slot number values and associates them with Type* and Value*. The SlotTable is simply the holder of the slot numbers and provides a controlled interface for building the table. It does not enforce any particular idiom or functionality for manipulating the slot numbers. This is part of bug_122. The SlotCalculator and SlotMachine classes will follow. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13764 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove this file as well as it is no longer needed nor it compilesAlkis Evlogimenos2004-05-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13762 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement the new cl::PositionalEatsArgs flag, refactor code a bitChris Lattner2004-05-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13388 91177308-0d34-0410-b5e6-96231b3b80d8
* Apply simplification suggested by Chris: why assign() when operator = will do?Brian Gaeke2004-05-04
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13364 91177308-0d34-0410-b5e6-96231b3b80d8
* Add "Args" optional argument to AbstractInterpreter factory methods, whichBrian Gaeke2004-05-04
| | | | | | | | | | | | fills in a ToolArgs vector in the AbstractInterpreter if it is set. This ToolArgs vector is used to pass additional arguments to LLI and/or LLC. This is intended to address Bug 40. Also, make -debug-only=toolrunner work for the LLC and CBE AbstractInterpreters. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13356 91177308-0d34-0410-b5e6-96231b3b80d8
* Bugpoint was not correctly capturing stderr! This caused it to "find" bugsChris Lattner2004-04-16
| | | | | | | that didn't exist, missing the ones that do :( git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12978 91177308-0d34-0410-b5e6-96231b3b80d8
* lli no longer takes the -quiet option!Chris Lattner2004-04-05
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12674 91177308-0d34-0410-b5e6-96231b3b80d8
* Do not mangle intrinsics in any way!Chris Lattner2004-04-05
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12673 91177308-0d34-0410-b5e6-96231b3b80d8
* Add autoconf support for isStandardOutAConsole ().Brian Gaeke2004-04-02
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12638 91177308-0d34-0410-b5e6-96231b3b80d8