summaryrefslogtreecommitdiff
path: root/libsanitizer/include
diff options
context:
space:
mode:
authorkcc <kcc@138bc75d-0d04-0410-961f-82ee72b054a4>2013-12-05 10:28:59 +0000
committerkcc <kcc@138bc75d-0d04-0410-961f-82ee72b054a4>2013-12-05 10:28:59 +0000
commit08e6260c3b9cdad751fc2bf14fc734007f2f09af (patch)
tree9a355019c43c1ee17910aa964aac70eae64817a4 /libsanitizer/include
parent43d3e9ffde608c3cb28d65f31934398f9b976305 (diff)
downloadgcc-08e6260c3b9cdad751fc2bf14fc734007f2f09af.tar.gz
libsanitizer merge from upstream r196489
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205700 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libsanitizer/include')
-rw-r--r--libsanitizer/include/sanitizer/common_interface_defs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libsanitizer/include/sanitizer/common_interface_defs.h b/libsanitizer/include/sanitizer/common_interface_defs.h
index 956cb86d697..db8b3b543e3 100644
--- a/libsanitizer/include/sanitizer/common_interface_defs.h
+++ b/libsanitizer/include/sanitizer/common_interface_defs.h
@@ -83,6 +83,9 @@ extern "C" {
const void *old_mid,
const void *new_mid);
+ // Print the stack trace leading to this call. Useful for debugging user code.
+ void __sanitizer_print_stack_trace();
+
#ifdef __cplusplus
} // extern "C"
#endif