[PATCH] D41669: Use ODR debug type uniquing when enabled during function cloning

Teresa Johnson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 30 10:32:43 PST 2018


tejohnson added a comment.

In https://reviews.llvm.org/D41669#992036, @pcc wrote:

> But doesn't ODR type uniquing mean that there is only one CT for the whole LLVMContext?


That's true, with ODR type uniquing we would have invoked buildODRType during the bitcode reading process, so it should be safe to use CT. I tested that with the test case here and in PR36089 and it works. Updating the patch in a min.


https://reviews.llvm.org/D41669





More information about the llvm-commits mailing list