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