Fix the thread-name facility and associated test on Darwin.  
Patch from Rhys Kidd (rhyskidd@gmail.com).  Fixes #339442.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14622 a5019735-40e9-0310-863c-91ae7b9d1cf9
Hide .version directives in assembly code on Mac, since XCode doesn't
seem to like them.  Patch from Rhys Kidd (rhyskidd@gmail.com).
Fixes #339688.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14623 a5019735-40e9-0310-863c-91ae7b9d1cf9
Modify the compiler detection test so as to accept "Apple LLVM version
5.1" (etc) and identify it as a Clang variant.  Without that, it gets
misidentified as a gcc variant, which causes problems with Makefile.am's
that use the derived COMPILER_IS_CLANG conditional.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14624 a5019735-40e9-0310-863c-91ae7b9d1cf9
Inline function definitions must not refer to objects with internal
linkage. Remove the INLINE specifier. Related to BZ #339542.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14625 a5019735-40e9-0310-863c-91ae7b9d1cf9