commit | 7eca0cc8e2bc1c260be1b596c54e4b55d1e2517a | [log] [tgz] |
---|---|---|
author | sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Wed Apr 12 17:15:35 2006 +0000 |
committer | sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Wed Apr 12 17:15:35 2006 +0000 |
tree | 1299b970fceffadfc4d16c36ef632a3a900ffccd | |
parent | f84805ea816a5fd629f3d49146d521a993a90002 [diff] |
Recent GCCs (3.4+ at least) optimize static unused functions out, so making VALGRIND_PRINTF and VALGRIND_PRINTF_BACKTRACE static and attribute unused proved to be much better than always compiling it as exported weak function. (Jakub Jelinek) git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5845 a5019735-40e9-0310-863c-91ae7b9d1cf9