Separate the stack unwind logic for amd64 and x86, so that they can be
differently performance-tuned.  amd64 needs to consult CFI first and
then if that fails (unlikely) follow the %rbp chain.  On x86, the CFI
is almost never helpful, but consulting it first wastes significant
time in allocation-intensive programs.  This commit pulls the two
archs apart and puts the CFI check second on x86.  This reduces start
time for ktuberling on x86 on memcheck from 78 seconds to 75.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5126 a5019735-40e9-0310-863c-91ae7b9d1cf9
1 file changed