- Oct 21, 2003
-
-
John Criswell authored
llvm-svn: 9314
-
- Oct 20, 2003
-
-
Chris Lattner authored
llvm-svn: 9294
-
John Criswell authored
llvm-svn: 9291
-
- Oct 10, 2003
-
-
Brian Gaeke authored
llvm-svn: 9037
-
Misha Brukman authored
llvm-svn: 9027
-
- Oct 08, 2003
-
-
Brian Gaeke authored
Add a newline after "Cannot find <library>". llvm-svn: 8968
-
- Sep 30, 2003
-
-
Misha Brukman authored
llvm-svn: 8778
-
Misha Brukman authored
* 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 llvm-svn: 8775
-
Misha Brukman authored
* Deleted empty comment lines * No single begin-braces '{' on a line by themselves llvm-svn: 8773
-
Misha Brukman authored
llvm-svn: 8771
-
Misha Brukman authored
llvm-svn: 8770
-
Chris Lattner authored
llvm-svn: 8769
-
Misha Brukman authored
* Remove extra blank lines * Delete space between function call and arg list * Delete non-content comment lines ("//") llvm-svn: 8768
-
Brian Gaeke authored
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.) llvm-svn: 8760
-
Chris Lattner authored
llvm-svn: 8758
-
Misha Brukman authored
* Removed space between function name and its argument list * Removed space between '&' and variable name * Removed empty comment lines: `//' llvm-svn: 8750
-
Misha Brukman authored
* Made code layout more verbose: no more '{' on a line by itself * Pruned extra whitespace llvm-svn: 8748
-
- Sep 22, 2003
-
-
Chris Lattner authored
* 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 llvm-svn: 8657
-
- Sep 19, 2003
-
-
John Criswell authored
llvm-svn: 8610
-
John Criswell authored
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. llvm-svn: 8609
-
- Sep 18, 2003
-
-
John Criswell authored
Added code ignore bytecode link failures when generating native code. Moved native code and bytecode generation out of the main() function. llvm-svn: 8595
-
- Sep 17, 2003
-
-
John Criswell authored
This should prevent calls to the new oerator and malloc. llvm-svn: 8587
-
John Criswell authored
Have gccld find the path to llc and gcc instead of having the library do it. llvm-svn: 8586
-
John Criswell authored
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. llvm-svn: 8579
-
- Sep 16, 2003
-
-
John Criswell authored
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). llvm-svn: 8570
-
- Sep 05, 2003
-
-
Brian Gaeke authored
llvm-svn: 8368
-
- Sep 02, 2003
-
-
John Criswell authored
script). Removed the use of sys/types.h and sys/stat.h. Modified FileExists() so that it uses the access() system call to check for file existance. This requires less header files and might even be a tad bit faster. llvm-svn: 8328
-
John Criswell authored
library code now adds all execute bits that are allowed by the umask value to the file's current permission bits. llvm-svn: 8325
-
- Aug 29, 2003
-
-
John Criswell authored
Added code to respect the umask value. Before, files were generated world readable, which may not be desirable for all installations. llvm-svn: 8215
-
- Aug 22, 2003
-
-
Chris Lattner authored
llvm-svn: 8058
-
- Aug 20, 2003
-
-
Misha Brukman authored
llvm-svn: 7992
-
- Aug 15, 2003
-
-
Chris Lattner authored
llvm-svn: 7879
-
Chris Lattner authored
llvm-svn: 7878
-
- Jun 26, 2003
-
-
Chris Lattner authored
ALL of the global ctor/dtor stuff if it is not used! llvm-svn: 6916
-
Chris Lattner authored
Move the instcombine pass before globaldce, so that if globals are made dead by instcombine, that they can be deleted. llvm-svn: 6910
-
- Jun 19, 2003
-
-
Chris Lattner authored
instcombine does this llvm-svn: 6787
-
- Jun 18, 2003
-
-
Chris Lattner authored
llvm-svn: 6770
-
- May 29, 2003
-
-
Chris Lattner authored
llvm-svn: 6398
-
- May 27, 2003
-
-
Chris Lattner authored
llvm-svn: 6354
-
- May 23, 2003
-
-
Brian Gaeke authored
Fix typo in header. Add IsArchive static method. Roll LoadLibraryFromDirectory() into LoadLibrary(), and factor LoadLibraryExactName() out of the result. Instead of treating the current directory specially, just insert it into LibPaths in the beginning of main(). Make LoadLibrary() take a "search" flag that says whether to search for the correct library, or just trust that LibName is right. Make LinkLibrary() take a "search" flag, and pass it to LoadLibrary(). Change the for-loop over InputFilenames to detect ar archives and link them in as libraries without searching. Change the for-loop over Libraries to explicitly turn on the "search" flag to LinkLibrary() that makes LoadLibrary() search for the correct library (i.e., when processing -lNAME options.) llvm-svn: 6316
-