summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
Commit message (Collapse)AuthorAgeFilesLines
* Wrapper for c99 isnan()Brian Gaeke2004-06-221-0/+31
| | | | llvm-svn: 14338
* * Fix file header and nameMisha Brukman2004-06-181-8/+8
| | | | | | * Order #includes alphabetically llvm-svn: 14234
* Use the machine-independent method of querying the page size.Misha Brukman2004-06-181-1/+2
| | | | llvm-svn: 14233
* Make all of this functionality work directly on win32. Properly conditionalizeChris Lattner2004-06-071-13/+29
| | | | | | system specific stuff on HAVE_MKSTEMP llvm-svn: 14051
* Implement getTimeRecord natively in Win32, properly conditionalize theChris Lattner2004-06-071-7/+28
| | | | | | getrusage implementation on HAVE_GETRUSAGE llvm-svn: 14050
* Include cerrno.Alkis Evlogimenos2004-06-051-1/+2
| | | | llvm-svn: 14041
* Implement the new CopyFile functionChris Lattner2004-06-021-0/+35
| | | | llvm-svn: 13945
* Fix spelling, trim empty space, tighten up function header comment.Misha Brukman2004-06-021-10/+3
| | | | llvm-svn: 13940
* Moved this file to lib/Bytecode/Writer because its used there only.Reid Spencer2004-05-301-116/+0
| | | | llvm-svn: 13900
* Thoroughly rehack the dynamic linking mechanisms on Win32. The Win32Chris Lattner2004-05-281-16/+41
| | | | | | | | | | | 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. llvm-svn: 13887
* Prune #includesChris Lattner2004-05-281-2/+1
| | | | llvm-svn: 13886
* Add support for getting executable memory on Windows. This is actuallyChris Lattner2004-05-281-2/+14
| | | | | | | | | | 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. llvm-svn: 13871
* Add a new function for the JIT. libsupport is now the only library thatChris Lattner2004-05-281-1/+53
| | | | | | includes mman.h llvm-svn: 13870
* Add support for zero length filesChris Lattner2004-05-281-1/+10
| | | | llvm-svn: 13866
* Add a pair of functions to hide system specific details of mapping a file in ↵Chris Lattner2004-05-281-0/+34
| | | | | | for reading. llvm-svn: 13863
* Add DynamicLinker support for systems that provide windows.hChris Lattner2004-05-271-8/+23
| | | | llvm-svn: 13851
* Signals.h header moved. Eventually this should move into a lib/System library,Chris Lattner2004-05-271-1/+1
| | | | | | but not right now. llvm-svn: 13811
* Changes to make libSupport build on systems that don't have the wait syscall.Chris Lattner2004-05-271-30/+12
| | | | llvm-svn: 13806
* Put SlotTable.h inclusion back at front of list to be coding standardsReid Spencer2004-05-251-1/+1
| | | | | | compliant. Thanks, Chris. llvm-svn: 13771
* Make some improvements suggested by Chris.Reid Spencer2004-05-251-8/+9
| | | | llvm-svn: 13765
* Adding the initial implementation of the SlotTable class. This class isReid Spencer2004-05-251-0/+115
| | | | | | | | | | | | | 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. llvm-svn: 13764
* Remove this file as well as it is no longer needed nor it compilesAlkis Evlogimenos2004-05-251-25/+0
| | | | llvm-svn: 13762
* Implement the new cl::PositionalEatsArgs flag, refactor code a bitChris Lattner2004-05-061-52/+65
| | | | llvm-svn: 13388
* Apply simplification suggested by Chris: why assign() when operator = will do?Brian Gaeke2004-05-041-2/+2
| | | | llvm-svn: 13364
* Add "Args" optional argument to AbstractInterpreter factory methods, whichBrian Gaeke2004-05-041-31/+71
| | | | | | | | | | | 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. llvm-svn: 13356
* Bugpoint was not correctly capturing stderr! This caused it to "find" bugsChris Lattner2004-04-161-1/+4
| | | | | | that didn't exist, missing the ones that do :( llvm-svn: 12978
* lli no longer takes the -quiet option!Chris Lattner2004-04-051-2/+0
| | | | llvm-svn: 12674
* Do not mangle intrinsics in any way!Chris Lattner2004-04-051-1/+4
| | | | llvm-svn: 12673
* Add autoconf support for isStandardOutAConsole ().Brian Gaeke2004-04-021-1/+5
| | | | llvm-svn: 12638
* Add new function, autoconf support required thoChris Lattner2004-04-021-0/+8
| | | | llvm-svn: 12600
* Add some new methodsChris Lattner2004-03-301-15/+87
| | | | llvm-svn: 12539
* Adjust to new itfChris Lattner2004-03-291-2/+2
| | | | llvm-svn: 12534
* Hide variable from other functions.Alkis Evlogimenos2004-03-041-2/+3
| | | | llvm-svn: 12118
* Make sure that at least one virtual method is defined in a .cpp file to avoidChris Lattner2004-02-261-1/+12
| | | | | | having the compiler emit RTTI and vtables to EVERY translation unit. llvm-svn: 11871
* `cat' is usually in /bin, not /usr/bin, at least on our systems.Misha Brukman2004-02-211-1/+1
| | | | llvm-svn: 11690
* When printing a stack trace, demangle it if possible. Since we are potentiallyChris Lattner2004-02-211-5/+61
| | | | | | | in a signal handler, allocating memory or doing other unsafe things is bad, which means we should do it in a different process. llvm-svn: 11689
* Use backtrace() and include execinfo.h, if they were detected by autoconf.Brian Gaeke2004-02-201-5/+10
| | | | llvm-svn: 11658
* Disable the stack trace thing until we can get an autoconf test for it. ThisChris Lattner2004-02-191-3/+3
| | | | | | call breaks on sparcs llvm-svn: 11635
* Implement new functionChris Lattner2004-02-191-0/+6
| | | | llvm-svn: 11631
* Make ToolExecutionError inherit std::exception and implement itsAlkis Evlogimenos2004-02-191-0/+2
| | | | | | interface: getMessage() is gone, use what() instead. llvm-svn: 11621
* Print stacktrace in STDERR before dying on a fatal signal. CurrentlyAlkis Evlogimenos2004-02-191-1/+7
| | | | | | the symbols are not demangled. llvm-svn: 11620
* Add support for just running the code generatorChris Lattner2004-02-181-0/+12
| | | | llvm-svn: 11611
* indent correctlyChris Lattner2004-02-181-1/+1
| | | | llvm-svn: 11601
* Don't yell. BUGPOINT should yell, not the tool runner :)Chris Lattner2004-02-181-1/+1
| | | | llvm-svn: 11600
* If there is an error running a tool, include the error message (e.g. ↵Chris Lattner2004-02-181-30/+32
| | | | | | assertion failure) in the exception llvm-svn: 11597
* 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
OpenPOWER on IntegriCloud