[LLVMdev] Proposal: support object file-based on-disk module format

Dan Liew dan at su-root.co.uk
Wed Jul 9 02:45:11 PDT 2014


> If the linker never sees the intermediate object files, this will not
> happen. This is the case under the current proposal.

Ah I see. I completely misread your original post, for some reason I
thought you were proposing object files that had LLVM IR and the
corresponding codegen together. Sorry for the noise.

> However, if we codegen
> into the object files, we might want to make those object files visible to
> the linker. In which case, the compiler can use an object-format-specific
> exclude flag [1] to exclude those sections from the executable or DSO.

> [1] https://sourceware.org/binutils/docs/as/Section.html

Cool I did not know about those flags.

Thanks,
Dan.



More information about the llvm-dev mailing list