[PATCH] D29240: IR: Consider two DISubprograms to be odr-equal if they have the same template parameters.
Peter Collingbourne via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 27 21:35:44 PST 2017
pcc added a comment.
It occurred to me that this may have something to do with the `enableDebugTypeODRUniquing()` thing, so figured we could just turn it off if we end up splitting the module. But I took a closer look at the code and discovered that they are completely separate (clang has this turned off anyway, as I'd expect). Taking a look at history it looks like both mechanisms were added around the same time. Why do we have both? Can't we have `enableDebugTypeODRUniquing()` also turn on the `isDeclarationOfODRMember` uniquing?
https://reviews.llvm.org/D29240
More information about the llvm-commits
mailing list