| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 20629
|
|
|
|
|
|
|
|
| |
using Function::arg_{iterator|begin|end}. Likewise Module::g* -> Module::global_*.
This patch is contributed by Gabor Greif, thanks!
llvm-svn: 20597
|
|
|
|
| |
llvm-svn: 20253
|
|
|
|
|
|
|
| |
WARNING: Type conflict between types named 'union.._604.'.
Src=' %union.._604.'.
Dest=' %union.._604.'
llvm-svn: 20252
|
|
|
|
| |
llvm-svn: 20153
|
|
|
|
| |
llvm-svn: 20148
|
|
|
|
|
|
|
| |
This finally resolves PR502, PR450,
and test/Regression/Linker/2005-02-12-ConstantGlobals{,-2}.ll correctly
llvm-svn: 20135
|
|
|
|
| |
llvm-svn: 19061
|
|
|
|
|
|
| |
include it any more.
llvm-svn: 18993
|
|
|
|
|
|
|
|
| |
* Fix loop style per standards
* Don't create a new Module when the Linker's module is released.
* Add/fix function comments.
llvm-svn: 18871
|
|
|
|
| |
llvm-svn: 18870
|
|
|
|
| |
llvm-svn: 18867
|
|
|
|
| |
llvm-svn: 18860
|
|
|
|
| |
llvm-svn: 18859
|
|
|
|
| |
llvm-svn: 18858
|
|
|
|
|
|
|
|
| |
* Remove redundant static function LinkOneLibrary. \
* Remove unneded #includes \
* Convert FileSupport usage to sys::Path instead
llvm-svn: 18857
|
|
|
|
| |
llvm-svn: 18856
|
|
|
|
|
|
|
|
|
| |
* Convert functions to Linker:: methods. \
* Remove unneeded #includes \
* Utilize sys::Path utilities not FileSupport utilities \
* Move File & Library linking functions to other source files
llvm-svn: 18855
|
|
|
|
| |
llvm-svn: 18774
|
|
|
|
| |
llvm-svn: 18655
|
|
|
|
| |
llvm-svn: 18611
|
|
|
|
|
|
| |
be removed when PR400 is resolved.
llvm-svn: 18610
|
|
|
|
|
|
| |
Implement LinkItems and BuildLinkItems interfaces.
llvm-svn: 18547
|
|
|
|
| |
llvm-svn: 18494
|
|
|
|
|
|
|
|
|
| |
correctly link globals whose LLVM types do not match.
This fixes several of the F2C SPEC FP benchmarks, which were failing this
due to the implementation of common blocks used by f2c.
llvm-svn: 18465
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Make the linker find lib*.bca files now instead of lib*.bc since those
are what the makefiles now generate for bytecode archives.
* Make sure the linker only links archives when LinkLibraries is called.
Previously if it found a lib*.bc file and that file was a bytecode file,
it would link in the entire bytecode. This could make -lc -lc fail with
duplicate symbols error but it shouldn't as searching multiple libraries,
even the same one more than once, is permitted.
* Now that the above problems are corrected, implement the dependent libs
feature. After the module is linked with all specified libraries, the
LinkLibraries function will obtain the set of dependent libraries from
the linked modules and attemp to find and link against those libraries.
llvm-svn: 18428
|
|
|
|
| |
llvm-svn: 18399
|
|
|
|
| |
llvm-svn: 18353
|
|
|
|
|
|
|
| |
-lstdsup++ no -lc be passed on the command line to llvm linkers if the
progam being linked was compiled with the C/C++ Front End or Stacker.
llvm-svn: 18243
|
|
|
|
|
|
| |
Make sure lines don't exceed 80 cols.
llvm-svn: 18242
|
|
|
|
| |
llvm-svn: 17979
|
|
|
|
|
|
| |
symbols it has already identified as not defining.
llvm-svn: 17975
|
|
|
|
| |
llvm-svn: 17904
|
|
|
|
|
|
| |
being linked do not need to be remapped any longer.
llvm-svn: 17900
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
by splicing function bodies from the src module to the destination module.
This speeds up linking quite a bit, e.g. gccld time on 176.gcc from 26s -> 20s
when forming the .rbc file, with a profile build. One of the really strange
but cool effects of this patch is that it speeds up the optimizers as well,
from 12s -> 10.7s, presumably because of better locality???
In any case, this is just a first step. We can trivially get rid of the
LocalMap now and do other simplifications.
llvm-svn: 17893
|
|
|
|
|
|
|
| |
* Adjust indentation\
* Ensure memory do not leak if exceptions happen (std::auto_ptr use)
llvm-svn: 17885
|
|
|
|
| |
llvm-svn: 17880
|
|
|
|
| |
llvm-svn: 17875
|
|
|
|
| |
llvm-svn: 17810
|
|
|
|
| |
llvm-svn: 17807
|
|
|
|
| |
llvm-svn: 17801
|
|
|
|
| |
llvm-svn: 17773
|
|
|
|
|
|
| |
symbol tables.
llvm-svn: 17772
|
|
|
|
| |
llvm-svn: 17695
|
|
|
|
|
|
| |
lib/Linker/LinkModules.cpp
llvm-svn: 17694
|
|
lib/Linker/LinkArchives.cpp
llvm-svn: 17693
|