Re: ccache direct mode
Anders Björklund <[email protected]> Mon, 25 Apr 2016 19:10:00 +0000
| Newsgroups | gmane.comp.compilers.ccache |
|---|---|
| Message-ID | <[email protected]> |
vijay nag wrote: > The documentation under direct mode suggest that it works by hashing > the contents of include files, but it is not clear if it hashes the > contents of every included file in BFS or DFS inclusion order ? The files are indexed in the order the compiler (preprocessor) says. You can check the order by running gcc -c yourself with the -H flag. Or you can dump the .manifest file afterwards, using --dump-manifest. Normally it is very top-to-bottom, which corresponds to a DFS order ? /Anders