Displaying 1 result from an estimated 1 matches for "shouldclonedefinit".
2016 Jan 26
2
Handling of metadata in llvm::CloneModule
Sorry if this has been discussed already...
I am trying to understand whether there is an underlying reason why llvm::CloneModule takes argument function ShouldCloneDefinition to discriminate on objects being cloned, but blindly copies all named metadata...?
In my case this results in debug nodes that are creating uses/relocations for global objects that were _not_ copied per ShouldCloneDefinition...
Before I jump head on into unfamiliar code, I would like to unders...