[ccache] Inline assembly .incbin directive
stefanha at gmail.com
Fri Mar 5 23:31:12 MST 2010
On Fri, Mar 5, 2010 at 7:49 PM, Joel Rosdahl <joel at rosdahl.net> wrote:
> The only reasonable way I see to tackle this is to avoid caching any source
> code that has a string literal containing ".incbin". It would be easy to fool,
> and there will be a few false positives, but maybe it's good enough. On the
> other hand, I guess a very tiny part of ccache's users compile things with
> ".incbin". Do you think it's worth the effort to try to detect this or is it
> enough to just document it as limitation?
I agree that few users need .incbin. Documenting this limitation is a
first step and may be enough.
> (It would be easy to make a slightly better work-around available than setting
> CCACHE_DISABLE, though: Introduce a CCACHE_EXTRA_FILES_TO_HASH variable
> containing paths to files whose content ccache should include in the hash.)
Thanks for this idea!
More information about the ccache