[PATCH] D48541: [Function] Use deterministic IDs when mangling unnamed types.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 27 09:19:19 PDT 2018


fhahn added a comment.

Hm when serializing to bitcode, the order the types are written is based on their uses in functions. That means when reading a bitcode file, the type objects may get created in a different order than defined in the LL file and this is a problem for generating IDs deterministically "on the side".

Currently I am not sure what a good approach/solution would be. Any thoughts/suggestions would be greatly appreciated!


https://reviews.llvm.org/D48541





More information about the llvm-commits mailing list