- Nov 05, 2003
-
-
Brian Gaeke authored
Module and link things into that. Also, fix a typo in an error message. llvm-svn: 9748
-
Chris Lattner authored
llvm-svn: 9724
-
- Nov 03, 2003
-
-
Chris Lattner authored
This fixes lots of annoying warnings and error messages llvm-svn: 9677
-
- Oct 24, 2003
-
-
Brian Gaeke authored
llvm-svn: 9494
-
- Oct 20, 2003
-
-
Chris Lattner authored
llvm-svn: 9294
-
John Criswell authored
llvm-svn: 9291
-
- Oct 10, 2003
-
-
Misha Brukman authored
llvm-svn: 9027
-
- Sep 30, 2003
-
-
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
-
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
-
- 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
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
-
- May 14, 2003
-
-
Chris Lattner authored
Implement minor library linking optimization. llvm-svn: 6181
-
- Apr 24, 2003
-
-
Chris Lattner authored
llvm-svn: 5904
-
- Apr 21, 2003
-
-
Chris Lattner authored
llvm-svn: 5825
-
- Apr 20, 2003
-
-
Chris Lattner authored
llvm-svn: 5823
-
Chris Lattner authored
llvm-svn: 5822
-
- Apr 19, 2003
-
-
Chris Lattner authored
llvm-svn: 5813
-
Chris Lattner authored
Kill using decl llvm-svn: 5811
-
- Apr 16, 2003
-
-
Chris Lattner authored
llvm-svn: 5792
-
- Dec 14, 2002
-
-
Chris Lattner authored
llvm-svn: 5028
-