directory. If set to the empty string (which is the default), no rewriting
is done. See also the discussion under
<<_compiling_in_different_directories,COMPILING IN DIFFERENT DIRECTORIES>>.
- If using GCC*, you might want to look into the *-fdebug-prefix-map* option
- for relocating debug info to a common prefix (mapping prefix with old=new).
-
- * or newer versions of Clang, see: http://reviews.llvm.org/rL250094
+ If using GCC or newer versions of Clang, you might want to look into the
+ *-fdebug-prefix-map=old=new* option for relocating debug info to a common
+ prefix (mapping prefix with old=new).
*cache_dir* (*CCACHE_DIR*)::
*extra_files_to_hash* (*CCACHE_EXTRAFILES*)::
This setting is a list of paths to files that ccache will include in the
- the hash sum that idetifies the build. The list separator is semicolon on
+ the hash sum that identifies the build. The list separator is semicolon on
Windows systems and colon on other systems.
*hard_link* (*CCACHE_HARDLINK*) [boolean]::
working directory in the debug info set incorrectly. This option is off by
default as the incorrect setting of this debug info rarely causes problems.
If you strike problems with GDB not using the correct directory then enable
- this option. The option *only* applies when generating debug info (-g).
+ this option. The option only applies when generating debug info (*-g*).
*ignore_headers_in_manifest* (*CCACHE_IGNOREHEADERS*)::
- If hard-linking is enabled and but fails (e.g. due to cross-device linking),
ccache now falls back to copying instead of running the compiler.
-- Add support for relocating debuginfo cwd using `-f-debug-prefix-map`.
- This allows getting cache hits with base_dir, even using hash_dir.
+- Made the `hash_dir` option only have effect when generating debug info.
+
+- Added support for relocating debug info directory using `-fdebug-prefix-map`.
+ This allows for cache hits even when `hash_dir` is used in combination with
+ `base_dir`.
Bug fixes