Re-organize the way to produce stacktrace.
author <shinichiro.hamaji@gmail.com> <>
Mon, 17 Nov 2008 07:58:10 +0000 (07:58 +0000)
committer <shinichiro.hamaji@gmail.com> <>
Mon, 17 Nov 2008 07:58:10 +0000 (07:58 +0000)
commitf9b58c51984c76ec4e6f0305926075716fc8c079
tree883edf232904b312906754160537d0a90e4cfcf1
parent62a67b25167a56a723e2e420cc80168905e5e2cb
Re-organize the way to produce stacktrace.

Since we introduced the API to set signal handler and print a
stacktrace, we should avoid glibc's backtrace, which may call malloc.
Basically, we choose the way to produce a stacktrace as same as
perftools.

Also, I removed GetStackFrames, which is not used and not implemented
with glibc.

git-svn-id: https://google-glog.googlecode.com/svn/trunk@16 eb4d4688-79bd-11dd-afb4-1d65580434c0
20 files changed:
Makefile.am
Makefile.in
configure
configure.ac
src/config.h.in
src/signalhandler.cc
src/signalhandler_unittest.cc
src/signalhandler_unittest.sh
src/stacktrace.h
src/stacktrace_framesizes_unittest.cc [deleted file]
src/stacktrace_generic-inl.h
src/stacktrace_libunwind-inl.h
src/stacktrace_powerpc-inl.h
src/stacktrace_unittest.cc
src/stacktrace_x86-inl.h
src/stacktrace_x86_64-inl.h
src/symbolize_unittest.cc
src/utilities.cc
src/utilities.h
src/utilities_unittest.cc [new file with mode: 0644]