search for: precollect

Displaying 3 results from an estimated 3 matches for "precollect".

Did you mean: recollect
2007 Sep 28
1
[LLVMdev] Compiling zlib to static bytecode archive
...er.h? (meaning the code using liblto would be C, not be C++) I currently have something that links the example without errors. It is not pretty though: a Python script intercepts the invocation of collect2, splits the list of object files into bitcode and native, calls a process I named "precollect" to link the bitcode objects into a single native object and then calls the real collect2 with only native objects. The precollect tool is based on the llvm-ld source. What does not work yet, is the actual optimization: precollect does not take advantage of the fact that this is the final...
2007 Sep 27
0
[LLVMdev] Compiling zlib to static bytecode archive
On Wed, 26 Sep 2007, Maarten ter Huurne wrote: >>> process, >>> which is called instead of collect2, does some processing and then >>> runs the >>> original, unmodified collect2: >>> llvm-gcc -> llvm-collect2(liblto) -> collect2 -> ld >> >> Sure, this would also work. Is there any reason not to merge them >> together? >
2007 Sep 26
3
[LLVMdev] Compiling zlib to static bytecode archive
On Wednesday 26 September 2007, Chris Lattner wrote: > > Assuming those steps are correct, step 6 and 7 could be implemented > > by using > > the original collect2 and adding the generated native object to the > > list of > > files to link. In other words, llvm-collect2 could be a separate > > process, > > which is called instead of collect2, does some