aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/compiler-rt/lib/gwp_asan/optional/backtrace.h
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2020-01-22 22:01:43 +0000
committerDimitry Andric <dim@FreeBSD.org>2020-01-22 22:01:43 +0000
commit68d75eff68281c1b445e3010bb975eae07aac225 (patch)
treea67b8ddbfabfc054c391e60990afd5839718ba52 /contrib/llvm-project/compiler-rt/lib/gwp_asan/optional/backtrace.h
parenta7dea1671b87c07d2d266f836bfa8b58efc7c134 (diff)
parent3a1720af1d7f43edc5b214cde0be11bfb94d077e (diff)
downloadsrc-68d75eff68281c1b445e3010bb975eae07aac225.tar.gz
src-68d75eff68281c1b445e3010bb975eae07aac225.zip
Merge ^/vendor/compiler-rt/dist up to its last change, and resolve conflicts.
Notes
Notes: svn path=/projects/clang1000-import/; revision=356999
Diffstat (limited to 'contrib/llvm-project/compiler-rt/lib/gwp_asan/optional/backtrace.h')
-rw-r--r--contrib/llvm-project/compiler-rt/lib/gwp_asan/optional/backtrace.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/contrib/llvm-project/compiler-rt/lib/gwp_asan/optional/backtrace.h b/contrib/llvm-project/compiler-rt/lib/gwp_asan/optional/backtrace.h
index 2700970e5e8e..6c9ee9f6506d 100644
--- a/contrib/llvm-project/compiler-rt/lib/gwp_asan/optional/backtrace.h
+++ b/contrib/llvm-project/compiler-rt/lib/gwp_asan/optional/backtrace.h
@@ -14,7 +14,12 @@
namespace gwp_asan {
namespace options {
// Functions to get the platform-specific and implementation-specific backtrace
-// and backtrace printing functions.
+// and backtrace printing functions when RTGwpAsanBacktraceLibc or
+// RTGwpAsanBacktraceSanitizerCommon are linked. Use these functions to get the
+// backtrace function for populating the Options::Backtrace and
+// Options::PrintBacktrace when initialising the GuardedPoolAllocator. Please
+// note any thread-safety descriptions for the implementation of these functions
+// that you use.
Backtrace_t getBacktraceFunction();
PrintBacktrace_t getPrintBacktraceFunction();
} // namespace options