[PATCH] Atoms generated by a pass should be owned by the generated file and not the pass itself.

Jean-Daniel Dupas mailing at xenonium.com
Thu Dec 18 10:36:11 PST 2014


OK, missed that side effect. Having the PassManager owning File will not solve the issue as the PassManager is not guarantee to live until we no longer need the mergedFile.

Anyway, after some though, this change is pointless as the actual pattern is consistent with the other linking steps (input graph, resolver, …). If somehow we need to be able to link a file in memory and keep the resulting representation, we will just make sure the PassManager and other objects live long enough.


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D6719

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list