[GWP-ASan] Update backtrace function signature.
authorMitch Phillips <mitchphillips@outlook.com>
Mon, 12 Aug 2019 21:36:44 +0000 (21:36 +0000)
committerMitch Phillips <mitchphillips@outlook.com>
Mon, 12 Aug 2019 21:36:44 +0000 (21:36 +0000)
commit352d1b59c0c892f4d642a7355e0dee664bb19479
tree2682b0091eb3e34f87d24276de14e87fa045fccf
parent55371e697cd41cc1c282aa9a7bc3baa6164659a9
[GWP-ASan] Update backtrace function signature.

Summary:
Updates the function signature and comments for backtracing (and printing
backtraces). This update brings GWP-ASan in line with future requirements for
stack frame compression, wherein the length of the trace is provided
explicitly, rather than relying on nullptr-termination.

Reviewers: vlad.tsyrklevich

Reviewed By: vlad.tsyrklevich

Subscribers: #sanitizers, llvm-commits, morehouse

Tags: #sanitizers, #llvm

Differential Revision: https://reviews.llvm.org/D66099

llvm-svn: 368619
compiler-rt/lib/gwp_asan/guarded_pool_allocator.cpp
compiler-rt/lib/gwp_asan/guarded_pool_allocator.h
compiler-rt/lib/gwp_asan/optional/backtrace.h
compiler-rt/lib/gwp_asan/optional/backtrace_linux_libc.cpp
compiler-rt/lib/gwp_asan/optional/backtrace_sanitizer_common.cpp
compiler-rt/lib/gwp_asan/options.h