Fix a few Char / HChar mixups.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14069 a5019735-40e9-0310-863c-91ae7b9d1cf9
Redirect strchr in dyld (the dynamic linker) on OS X 10.9, for
the usual reason.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14070 a5019735-40e9-0310-863c-91ae7b9d1cf9
kernelrpc_mach_vm_allocate_trap writes the resulting address to *ARG2
on successful return.  We need to mark this as defined.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14071 a5019735-40e9-0310-863c-91ae7b9d1cf9
Whitespace and comment-only changes.  No functional change.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14072 a5019735-40e9-0310-863c-91ae7b9d1cf9
OS X 10.9: add intercepts for
libsystem_platform.dylib : _platform_strchr
libsystem_c.dylib : strlen
libsystem_platform.dylib : _platform_strcmp



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14073 a5019735-40e9-0310-863c-91ae7b9d1cf9
Use macro TD3 defined as UNLIKELY(td3) for tracing
to be sure the compiler understands that usually, we do not trace


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14074 a5019735-40e9-0310-863c-91ae7b9d1cf9
This optimisation divides by 2.5 the time (user+sys) needed to read
the inlined info of a big executable.
On a slow pentium, reading the inline info now takes 5.5 seconds. 

The optimisation consists in having per dw3 abbreviation a structure
allowing to skip efficiently the non interesting DIEs (i.e. the DIEs
the parse_inl_DIE is not interested in).
Mostly, the idea is to avoid calling the image abstraction, and replace
this by just advancing the cursor (i.e. addition rather than a bunch
of function calls to read the data).



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14075 a5019735-40e9-0310-863c-91ae7b9d1cf9
Find the name of the inlined function through a DW_AT_specification
The name is not necessarily found in the abstract origin, it can be
in a referred to specification.

If both a name and a DW_AT_specification is found in the abstract origin,
the name will have priority over the name of the specification.
(unclear if that can happen)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14076 a5019735-40e9-0310-863c-91ae7b9d1cf9
ms_print ought to create temporary files in a proper directory as
specified with --with-tmpdir at configuration time or with TMPDIR
at runtime. Doing so fixes the symptom reported in BZ #332765.
Also fix an incorrect error message.


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