Joel Rosdahl [Sun, 8 Jan 2012 14:17:00 +0000 (15:17 +0100)]
Merge branch 'master' into config
* master:
while (1) -> while (true)
Fixup after merge: Make directory creation failure fatal
Update NEWS
Also recognize -specs=file in addition to --specs=file
Revert GCC bug compatibility for -MTarg and -MQarg
Fix minor memory leaks
Correct log message when unify mode is enabled
Hash environment variables that affect the preprocessor output
Hash mtime or content of GCC plugins specified with -fplugin=
Use hash_compiler for explicit --specs= options as well
Refactor code into a hash_compiler function
Improve description on how to fix bad object files in the cache
Make failure to create files in cache fatal
Make failure to create cache directories fatal
Remove unused print_executed_command function
Handle non-writable CCACHE_DIR gracefully
Joel Rosdahl [Sun, 8 Jan 2012 12:28:27 +0000 (13:28 +0100)]
Merge branch 'maint'
* maint:
Update NEWS
Also recognize -specs=file in addition to --specs=file
Revert GCC bug compatibility for -MTarg and -MQarg
Fix minor memory leaks
Correct log message when unify mode is enabled
Hash environment variables that affect the preprocessor output
Hash mtime or content of GCC plugins specified with -fplugin=
Use hash_compiler for explicit --specs= options as well
Refactor code into a hash_compiler function
Improve description on how to fix bad object files in the cache
Make failure to create files in cache fatal
Make failure to create cache directories fatal
Remove unused print_executed_command function
Handle non-writable CCACHE_DIR gracefully
Joel Rosdahl [Sun, 8 Jan 2012 09:40:17 +0000 (10:40 +0100)]
Revert GCC bug compatibility for -MTarg and -MQarg
The bug addressed by commit 8c3039d676d71564e98d50f1ca8ba029d1efa46c has
been fixed in a recent GCC version. Since ccache currently can't change
behavior depending on compiler version, we have to choose the least
troublesome behavior.
Joel Rosdahl [Fri, 6 Jan 2012 15:32:45 +0000 (16:32 +0100)]
Merge branch 'maint'
* maint:
Correct log message when unify mode is enabled
Hash environment variables that affect the preprocessor output
Hash mtime or content of GCC plugins specified with -fplugin=
Use hash_compiler for explicit --specs= options as well
Refactor code into a hash_compiler function
Improve description on how to fix bad object files in the cache
Make failure to create files in cache fatal
Make failure to create cache directories fatal
Remove unused print_executed_command function
Handle non-writable CCACHE_DIR gracefully
Joel Rosdahl [Mon, 15 Aug 2011 06:26:36 +0000 (08:26 +0200)]
Merge branch 'master' into config
* master: (22 commits)
Add the newest contributors
Fix potential free() of non-heap memory
Plug minor memory leak
Minor code-style cleanup
Correct win32 ifndefs
Don't crash when getcwd() fails
rework profile directory handling
set output_to_real_object default to false, we get errors handling hardlinks
Using hardlinks if requested
comment
Make sure we only handle known -fprofile flags. Rewrite profile directory to use absolute paths on commandline to increase direct / preprocessed hit rate.
Move -fprofile handling into cc_process_args
Look for .gcda files in profile directory when using profile
Fix profile_use directory, and valgrind warning
refactor to handle profile directories
Use hash_delimeter before hashing profile data
Avoid output_obj being freed by accident
Fix comment style
Hash the cwd if we're outputting to our object file first
handle -fprofile-use
...
Joel Rosdahl [Sun, 14 Aug 2011 17:27:25 +0000 (19:27 +0200)]
Merge remote-tracking branch 'catlee/profile'
* catlee/profile:
rework profile directory handling
set output_to_real_object default to false, we get errors handling hardlinks
Using hardlinks if requested
comment
Make sure we only handle known -fprofile flags. Rewrite profile directory to use absolute paths on commandline to increase direct / preprocessed hit rate.
Move -fprofile handling into cc_process_args
Look for .gcda files in profile directory when using profile
Fix profile_use directory, and valgrind warning
refactor to handle profile directories
Use hash_delimeter before hashing profile data
Avoid output_obj being freed by accident
Fix comment style
Hash the cwd if we're outputting to our object file first
handle -fprofile-use
adding tests
Get -fprofile-generate, -fprofile-arcs working