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
1 file changed