aboutsummaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Add a file headerChris Lattner2003-09-301-0/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8781 91177308-0d34-0410-b5e6-96231b3b80d8
* Doxygen-ified comments.Misha Brukman2003-09-301-187/+147
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8778 91177308-0d34-0410-b5e6-96231b3b80d8
* * Ordered includes according to LLVM styleMisha Brukman2003-09-301-70/+18
| | | | | | | | | | * Put function signatures on one line if possible * Deleted empty comment lines (^//$) * Deleted braces around single statements * Deleted space between function call and argument list git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8775 91177308-0d34-0410-b5e6-96231b3b80d8
* Made code more terse:Misha Brukman2003-09-301-15/+4
| | | | | | | | * Deleted empty comment lines * No single begin-braces '{' on a line by themselves git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8773 91177308-0d34-0410-b5e6-96231b3b80d8
* Doxygen-ified function comments.Misha Brukman2003-09-301-61/+43
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8771 91177308-0d34-0410-b5e6-96231b3b80d8
* Removed extra space in comments.Misha Brukman2003-09-301-12/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8770 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove initials from source fileChris Lattner2003-09-301-2/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8769 91177308-0d34-0410-b5e6-96231b3b80d8
* Make code more terse:Misha Brukman2003-09-301-69/+38
| | | | | | | | | * Remove extra blank lines * Delete space between function call and arg list * Delete non-content comment lines ("//") git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8768 91177308-0d34-0410-b5e6-96231b3b80d8
* 1. Use better error messages in LinkFiles().Brian Gaeke2003-09-302-3/+4
| | | | | | | | | 2. I think the caller of LinkFiles() should not ignore a true return value. (If you have a good reason why it ought to, feel free to revert this. It's just something that's been bugging me for a while.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8760 91177308-0d34-0410-b5e6-96231b3b80d8
* Update file headers for renamed files.Chris Lattner2003-09-302-13/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8758 91177308-0d34-0410-b5e6-96231b3b80d8
* Use the newly abstracted interface for running our tools and gcc.Misha Brukman2003-09-291-437/+18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8756 91177308-0d34-0410-b5e6-96231b3b80d8
* Implementation of the abstraction of running our tools + gcc, taken out ofMisha Brukman2003-09-291-0/+374
| | | | | | | bugpoint for general usage and enjoyment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8754 91177308-0d34-0410-b5e6-96231b3b80d8
* Abstracted away the process of running our tools + gcc from bugpoint.Misha Brukman2003-09-291-0/+115
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8753 91177308-0d34-0410-b5e6-96231b3b80d8
* * Added an interface for how LLEE would communicate with the OSMisha Brukman2003-09-297-74/+263
| | | | | | | | | | * Implemented the interface in StorageProxy.c * Removed the script `llee' as it is now created by the Makefile * Makefile now compiles a shared object version of the library, but only if using gcc-3.3, linking fails under gcc-3.2 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8751 91177308-0d34-0410-b5e6-96231b3b80d8
* Tersified code:Misha Brukman2003-09-291-39/+33
| | | | | | | | | * Removed space between function name and its argument list * Removed space between '&' and variable name * Removed empty comment lines: `//' git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8750 91177308-0d34-0410-b5e6-96231b3b80d8
* * Ordered includes according to LLVM programmers' guideMisha Brukman2003-09-291-127/+50
| | | | | | | | * Made code layout more verbose: no more '{' on a line by itself * Pruned extra whitespace git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8748 91177308-0d34-0410-b5e6-96231b3b80d8
* Squelch warnings.Misha Brukman2003-09-272-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8729 91177308-0d34-0410-b5e6-96231b3b80d8
* To be consistent with the rest of LLVM codebase (and the rest of this file):Misha Brukman2003-09-251-27/+27
| | | | | | | | * Changed tabs to spaces * Removed a space between a function call and its arguments (...) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8712 91177308-0d34-0410-b5e6-96231b3b80d8
* Squelch warning and delete extra space.Misha Brukman2003-09-231-4/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8685 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor cleanups:Chris Lattner2003-09-221-38/+15
| | | | | | | | | | | | * Local header file goes at top * Remove unneeded #includes * Wrap code at 80 columns * Declare variables where they are used * 'register' is not needed * Use 'unsigned' instead of 'int' variables where possible git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8657 91177308-0d34-0410-b5e6-96231b3b80d8
* Now that the TCE pass passes all of the tests, add it to GCCASChris Lattner2003-09-201-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8621 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix file headerChris Lattner2003-09-201-2/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8613 91177308-0d34-0410-b5e6-96231b3b80d8
* New header file for gccld.John Criswell2003-09-191-0/+64
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8610 91177308-0d34-0410-b5e6-96231b3b80d8
* Removed linking functionality from gccld.cpp and moved it to linker.cpp.John Criswell2003-09-195-567/+815
| | | | | | | | | | | | | | Renamed functions that were all lower-case. Moved functions from util.cpp into linker.cpp or gccld.cpp. Removed util.h and created gccld.h. Refactored the linker functionality in linker.cpp so that it is easier to follow, easier to modify, and it's library/object file search behavior is easier to understand and document. Added code to include library paths when doing native linking, but this causes problems and is currently #ifdef'd out. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8609 91177308-0d34-0410-b5e6-96231b3b80d8
* Refactored gccld into three C++ source files.John Criswell2003-09-184-313/+606
| | | | | | | | Added code ignore bytecode link failures when generating native code. Moved native code and bytecode generation out of the main() function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8595 91177308-0d34-0410-b5e6-96231b3b80d8
* Replaced the call to strdup() with a new operator followed by a strcpy().John Criswell2003-09-171-1/+2
| | | | | | | This should prevent calls to the new oerator and malloc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8587 91177308-0d34-0410-b5e6-96231b3b80d8
* Added the use of the const keyword.John Criswell2003-09-171-14/+29
| | | | | | | Have gccld find the path to llc and gcc instead of having the library do it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8586 91177308-0d34-0410-b5e6-96231b3b80d8
* Removed the use of the environ variable and instead use the environment arrayJohn Criswell2003-09-171-21/+120
| | | | | | | | | | | | | | passed into main(). This may (or may not) be more portable, but it looks nicer. Added functions to copy the environment array and modify the copy, thus preserving the environment. Switched from using system() to using ExecWait(). The code now removes the assembly file generated when using the -native option. Fixed the remove_env() function: The previous revision truncated the environment variable list. This version just zaps the variable as intended. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8579 91177308-0d34-0410-b5e6-96231b3b80d8
* Use new methodChris Lattner2003-09-171-7/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8573 91177308-0d34-0410-b5e6-96231b3b80d8
* Added the -native option.John Criswell2003-09-161-7/+125
| | | | | | | | | With this option, gccld links the program into LLVM bytecode and a native code binary. This allows llvmgcc to correctly tell GNU configure scripts when things aren't defined properly (because the native link will fail). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8570 91177308-0d34-0410-b5e6-96231b3b80d8
* `link' is now `llvm-link'.Misha Brukman2003-09-161-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8556 91177308-0d34-0410-b5e6-96231b3b80d8
* `link' has become `llvm-link'.Misha Brukman2003-09-162-145/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8555 91177308-0d34-0410-b5e6-96231b3b80d8
* `link' is being renamed to `llvm-link'.Misha Brukman2003-09-152-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8541 91177308-0d34-0410-b5e6-96231b3b80d8
* Stop building `as' and `dis' as they have been removed.Misha Brukman2003-09-151-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8529 91177308-0d34-0410-b5e6-96231b3b80d8
* `dis' is no longer an LLVM tool.Misha Brukman2003-09-152-135/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8528 91177308-0d34-0410-b5e6-96231b3b80d8
* `as' is no longer an LLVM tool.Misha Brukman2003-09-152-120/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8527 91177308-0d34-0410-b5e6-96231b3b80d8
* Enable the setjmp/longjmp lowering passChris Lattner2003-09-151-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8521 91177308-0d34-0410-b5e6-96231b3b80d8
* Added llvm-ar to the MakefileTanya Lattner2003-09-131-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8506 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixed warning.Tanya Lattner2003-09-131-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8505 91177308-0d34-0410-b5e6-96231b3b80d8
* Bugpoint has the ability of generating a plethora of core files, so toMisha Brukman2003-09-121-0/+12
| | | | | | | avoid filling up the disk, set the max core file size to 0. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8503 91177308-0d34-0410-b5e6-96231b3b80d8
* scalarrepl now includes mem2regChris Lattner2003-09-111-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8472 91177308-0d34-0410-b5e6-96231b3b80d8
* Move the -indvars pass much later to where it is more likely to do good stuffChris Lattner2003-09-111-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8470 91177308-0d34-0410-b5e6-96231b3b80d8
* Check in the fix I meant to apply here, but mistakenly applied toBrian Gaeke2003-09-101-0/+1
| | | | | | | tools/extract instead..... heh git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8464 91177308-0d34-0410-b5e6-96231b3b80d8
* Clean up header, remove extra #includeChris Lattner2003-09-102-6/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8451 91177308-0d34-0410-b5e6-96231b3b80d8
* Make createVerifierPass return a FunctionPass *.Brian Gaeke2003-09-102-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8449 91177308-0d34-0410-b5e6-96231b3b80d8
* Reorder #includes to follow LLVM conventionsChris Lattner2003-09-051-5/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8375 91177308-0d34-0410-b5e6-96231b3b80d8
* Interpreter, JIT moved to lib/ExecutionEngine (includes -> llvm/ExecutionEngine)Brian Gaeke2003-09-052-4/+3
| | | | | | | Build lli using executionengine library git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8372 91177308-0d34-0410-b5e6-96231b3b80d8
* -abort-on-exception is gone. Rebuild your gccld shell scripts, folks! :-)Brian Gaeke2003-09-051-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8368 91177308-0d34-0410-b5e6-96231b3b80d8
* Make CreateArgv part of lli rather than part of ExecutionEngine.Brian Gaeke2003-09-051-2/+79
| | | | | | | | | | | | | | | | Switch Interpreter and JIT's "run" methods to take a Function and a vector of GenericValues. Move (almost all of) the stuff that constructs a canonical call to main() into lli (new methods "callAsMain", "makeStringVector"). Nuke getCurrentExecutablePath(), enableTracing(), getCurrentFunction(), isStopped(), and many dead decls from interpreter. Add linux strdup() support to interpreter. Make interpreter's atexit handler runner and JIT's runAtExitHandlers() look more alike, in preparation for refactoring. atexit() is spelled "atexit", not "at_exit". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8366 91177308-0d34-0410-b5e6-96231b3b80d8
* Move EE dtor where it belongsBrian Gaeke2003-09-041-8/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8345 91177308-0d34-0410-b5e6-96231b3b80d8