<div>is it possible in llvm infrastructure to integrate an actual linker with llc?  rather than using the native linker.</div>
<div>Can it be done by adding a Module pass?</div>
<div>How difficult it would be to read-in and link the traditional COFF/ELF object files with this integrated linker?</div>
<div>I am looking to do something like this:</div>
<div> </div>
<div>a.c, b.c ----> llvm-gcc ---> a.bc, b.bc ---> llvm-link ---> combined.bc , native.o ------> llc + integrated linker  ---> final exeutable</div>
<div> </div>
<div> </div>
<div>TIA,</div>
<div>Sanjiv</div>