[PATCH] D18213: Add a module Hash in the bitcode and the combined index.

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 22 08:35:14 PDT 2016

tejohnson added a comment.

In http://reviews.llvm.org/D18213#380319, @llvm-commits wrote:

> We can make it conditional (with a clang flag?), but the desired behavior is to be able to decide on enabling/disabling the caching at link time, so any bitcode static archive distributed would need to have a hash embedded. The user friendly choice would be to enabled it by *default* when -flto=thing, and an explicit option to disable it.

I'm less concerned about the default than just having a way to disable it.


More information about the llvm-commits mailing list