| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
* Deleted empty comment lines
* No single begin-braces '{' on a line by themselves
llvm-svn: 8773
|
|
|
|
| |
llvm-svn: 8771
|
|
|
|
| |
llvm-svn: 8770
|
|
|
|
| |
llvm-svn: 8769
|
|
|
|
|
|
|
|
| |
* Remove extra blank lines
* Delete space between function call and arg list
* Delete non-content comment lines ("//")
llvm-svn: 8768
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 8758
|
|
|
|
|
|
|
|
| |
* Removed space between function name and its argument list
* Removed space between '&' and variable name
* Removed empty comment lines: `//'
llvm-svn: 8750
|
|
|
|
|
|
|
| |
* Made code layout more verbose: no more '{' on a line by itself
* Pruned extra whitespace
llvm-svn: 8748
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
llvm-svn: 8610
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Added code ignore bytecode link failures when generating native code.
Moved native code and bytecode generation out of the main() function.
llvm-svn: 8595
|
|
|
|
|
|
| |
This should prevent calls to the new oerator and malloc.
llvm-svn: 8587
|
|
|
|
|
|
| |
Have gccld find the path to llc and gcc instead of having the library do it.
llvm-svn: 8586
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 8368
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
library code now adds all execute bits that are allowed by the umask value to
the file's current permission bits.
llvm-svn: 8325
|
|
|
|
|
|
|
| |
Added code to respect the umask value. Before, files were generated world
readable, which may not be desirable for all installations.
llvm-svn: 8215
|
|
|
|
| |
llvm-svn: 8058
|
|
|
|
| |
llvm-svn: 7992
|
|
|
|
| |
llvm-svn: 7879
|
|
|
|
| |
llvm-svn: 7878
|
|
|
|
|
|
| |
ALL of the global ctor/dtor stuff if it is not used!
llvm-svn: 6916
|
|
|
|
|
|
| |
by instcombine, that they can be deleted.
llvm-svn: 6910
|
|
|
|
|
|
| |
instcombine does this
llvm-svn: 6787
|
|
|
|
|
|
| |
test-suite
llvm-svn: 6770
|
|
|
|
| |
llvm-svn: 6398
|
|
|
|
| |
llvm-svn: 6354
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Implement minor library linking optimization.
llvm-svn: 6181
|
|
|
|
| |
llvm-svn: 5904
|
|
|
|
| |
llvm-svn: 5825
|
|
|
|
| |
llvm-svn: 5823
|
|
|
|
|
|
| |
real linker does
llvm-svn: 5822
|
|
|
|
| |
llvm-svn: 5813
|
|
|
|
|
|
| |
Kill using decl
llvm-svn: 5811
|
|
|
|
| |
llvm-svn: 5792
|
|
|
|
| |
llvm-svn: 5028
|
|
|
|
|
|
| |
tool of a pipeline is having issues.
llvm-svn: 3167
|
|
|
|
| |
llvm-svn: 3087
|
|
|
|
| |
llvm-svn: 3044
|
|
|
|
| |
llvm-svn: 3040
|
|
|
|
| |
llvm-svn: 3002
|
|
|
|
| |
llvm-svn: 2985
|
|
|
|
| |
llvm-svn: 2810
|
|
|
|
| |
llvm-svn: 2799
|
|
|
|
|
|
| |
For details, See: docs/2002-06-25-MegaPatchInfo.txt
llvm-svn: 2778
|