summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/gwp_asan/optional/backtrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/lib/gwp_asan/optional/backtrace.h')
-rw-r--r--compiler-rt/lib/gwp_asan/optional/backtrace.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/compiler-rt/lib/gwp_asan/optional/backtrace.h b/compiler-rt/lib/gwp_asan/optional/backtrace.h
index 2700970e5e8..3aad9ead4c7 100644
--- a/compiler-rt/lib/gwp_asan/optional/backtrace.h
+++ b/compiler-rt/lib/gwp_asan/optional/backtrace.h
@@ -14,7 +14,10 @@
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.
Backtrace_t getBacktraceFunction();
PrintBacktrace_t getPrintBacktraceFunction();
} // namespace options
OpenPOWER on IntegriCloud