summaryrefslogtreecommitdiff
path: root/lib/sanitizer_common/sanitizer_stacktrace.h
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2013-10-12 12:40:47 +0000
committerAlexey Samsonov <samsonov@google.com>2013-10-12 12:40:47 +0000
commit3e0b8ff07e86e0858e016d187d842e97aea2255d (patch)
tree200ca911ae89c5b7d544a15cd276ce4904f4a42b /lib/sanitizer_common/sanitizer_stacktrace.h
parent80175018541984bdcfe6a304bb189bd30592fa8a (diff)
downloadcompiler-rt-3e0b8ff07e86e0858e016d187d842e97aea2255d.tar.gz
[Sanitizer] Remove StackTrace::max_depth field
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192534 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_stacktrace.h')
-rw-r--r--lib/sanitizer_common/sanitizer_stacktrace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sanitizer_common/sanitizer_stacktrace.h b/lib/sanitizer_common/sanitizer_stacktrace.h
index 26ffc5e35..e7e244aaf 100644
--- a/lib/sanitizer_common/sanitizer_stacktrace.h
+++ b/lib/sanitizer_common/sanitizer_stacktrace.h
@@ -32,8 +32,8 @@ struct StackTrace {
typedef bool (*SymbolizeCallback)(const void *pc, char *out_buffer,
int out_size);
uptr size;
- uptr max_size;
uptr trace[kStackTraceMax];
+
static void PrintStack(const uptr *addr, uptr size, bool symbolize,
SymbolizeCallback symbolize_callback);