[PATCH] D43109: LTO: Include live bit in ThinLTO cache key.
Teresa Johnson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 9 08:37:04 PST 2018
tejohnson added a comment.
Wondering whether there is a better way of proactively catching these issues - I assume it is currently ultimately detected through either linker failures or even worse, runtime failures. The only fully automated idea I have come up with is to have a debugging mode where we would force a native object to be produced even for cache hits, and would assert that the new and old objects are identical. Since that is expensive, the question would be how to run that broadly enough to catch bugs like this quickly, before it reaches the wild. Since the LLVM revision is used in the key, it would have to be using the same clang to build something large enough but at either different source revisions or with different enough options.
Any other possibilities?
Repository:
rL LLVM
https://reviews.llvm.org/D43109
More information about the llvm-commits
mailing list