summaryrefslogtreecommitdiffstats
path: root/compiler-rt/include/sanitizer/asan_interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/include/sanitizer/asan_interface.h')
-rw-r--r--compiler-rt/include/sanitizer/asan_interface.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler-rt/include/sanitizer/asan_interface.h b/compiler-rt/include/sanitizer/asan_interface.h
index c3382ceca03..6e8ae87232a 100644
--- a/compiler-rt/include/sanitizer/asan_interface.h
+++ b/compiler-rt/include/sanitizer/asan_interface.h
@@ -122,6 +122,10 @@ extern "C" {
uptr __asan_region_is_poisoned(uptr beg, uptr size)
SANITIZER_INTERFACE_ATTRIBUTE;
+ // Print the description of addr (useful when debugging in gdb).
+ void __asan_describe_address(uptr addr)
+ SANITIZER_INTERFACE_ATTRIBUTE;
+
// This is an internal function that is called to report an error.
// However it is still a part of the interface because users may want to
// set a breakpoint on this function in a debugger.
OpenPOWER on IntegriCloud