diff options
| author | Alexey Samsonov <samsonov@google.com> | 2013-10-11 09:58:30 +0000 |
|---|---|---|
| committer | Alexey Samsonov <samsonov@google.com> | 2013-10-11 09:58:30 +0000 |
| commit | 9d8385453b896e06fb621993c0dcf5e248aa25b9 (patch) | |
| tree | aabd0354e5cde3c1e8e9aa0521a774ad29f2e6e8 /compiler-rt/lib/sanitizer_common/sanitizer_stacktrace.h | |
| parent | 8e5c2788f64fabfdb87807a20bedda27bd8439e1 (diff) | |
| download | bcm5719-llvm-9d8385453b896e06fb621993c0dcf5e248aa25b9.tar.gz bcm5719-llvm-9d8385453b896e06fb621993c0dcf5e248aa25b9.zip | |
[Sanitizer] Simplify StackTrace::FastUnwindStack interface and fix a bug with one-frame stack traces
llvm-svn: 192428
Diffstat (limited to 'compiler-rt/lib/sanitizer_common/sanitizer_stacktrace.h')
| -rw-r--r-- | compiler-rt/lib/sanitizer_common/sanitizer_stacktrace.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_stacktrace.h b/compiler-rt/lib/sanitizer_common/sanitizer_stacktrace.h index b2e0d6b5f3d..b9ada16d06b 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_stacktrace.h +++ b/compiler-rt/lib/sanitizer_common/sanitizer_stacktrace.h @@ -51,7 +51,8 @@ struct StackTrace { } } - void FastUnwindStack(uptr pc, uptr bp, uptr stack_top, uptr stack_bottom); + void FastUnwindStack(uptr pc, uptr bp, uptr stack_top, uptr stack_bottom, + uptr max_depth); void SlowUnwindStack(uptr pc, uptr max_depth); void PopStackFrames(uptr count); |

