[LLVMdev] Proposal: release MDNodes for source modules (LTO+debug info)

Chris Lattner clattner at apple.com
Tue Nov 12 21:17:17 PST 2013


On Nov 12, 2013, at 6:07 PM, Chandler Carruth <chandlerc at google.com> wrote:
> My question was: if we're not seeing a higher degree of sharing between modules by using context-uniqued MDNodes, why not have them be owned by the module rather than the context?

Wouldn't that force the IR linker to *copy* the MDNodes from the source module into the dest module when linking?

-Chris




More information about the llvm-dev mailing list