summaryrefslogtreecommitdiff
path: root/src/stacktrace.cc
diff options
context:
space:
mode:
authorcsilvers <csilvers@6b5cf1ce-ec42-a296-1ba9-69fdba395a50>2007-07-18 18:30:50 +0000
committercsilvers <csilvers@6b5cf1ce-ec42-a296-1ba9-69fdba395a50>2007-07-18 18:30:50 +0000
commitc437e1fcdd1e6ff3f032928d460cbfc115e2324f (patch)
tree482360b82db4bc64880e187b9b5af82e840df47c /src/stacktrace.cc
parent6878379d5bab87c787cdd3487b5620a9c8adf376 (diff)
downloadgperftools-c437e1fcdd1e6ff3f032928d460cbfc115e2324f.tar.gz
Tue Jul 17 22:26:27 2007 Google Inc. <opensource@google.com>
* google-perftools: version 0.92 release * PERFORMANCE: use a packed cache to speed up tcmalloc * PORTING: preliminary windows support! (see README.windows) * PORTING: better support for solaris, OS X, FreeBSD (see INSTALL) * Envvar support for running the heap-checker under gdb * Add weak declarations to maybe_threads to fix no-pthreads compile bugs * Some 64bit fixes, especially with pprof * Better heap-checker support for some low-level allocations * Fix bug where heap-profiles would sometimes get truncated * New documentation about how to handle common heap leak situations * Use computed includes for hash_map/set: easier config * Added all used .m4 templates to the distribution git-svn-id: http://gperftools.googlecode.com/svn/trunk@36 6b5cf1ce-ec42-a296-1ba9-69fdba395a50
Diffstat (limited to 'src/stacktrace.cc')
-rw-r--r--src/stacktrace.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/stacktrace.cc b/src/stacktrace.cc
index f236798..21b172c 100644
--- a/src/stacktrace.cc
+++ b/src/stacktrace.cc
@@ -81,6 +81,14 @@
# error Cannnot calculate stack trace: need libunwind (see INSTALL file)
# endif
+// The PowerPC case
+#elif defined(__ppc__) && __GNUC__ >= 2
+# if !defined(NO_FRAME_POINTER)
+# include "stacktrace_powerpc-inl.h"
+# else
+# include "stacktrace_generic-inl.h"
+# endif
+
// OK, those are all the processors we know how to deal with.
#else
# error Cannot calculate stack trace: will need to write for your environment