aboutsummaryrefslogtreecommitdiff
path: root/libsanitizer/include
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2013-12-05 10:28:59 +0000
committerKostya Serebryany <kcc@gcc.gnu.org>2013-12-05 10:28:59 +0000
commitc4c16f745651177876f689b848586aa5a9f6a812 (patch)
tree9a355019c43c1ee17910aa964aac70eae64817a4 /libsanitizer/include
parent022351a2355150868e7fd4d34b45f141e97594ee (diff)
downloadgcc-c4c16f745651177876f689b848586aa5a9f6a812.zip
gcc-c4c16f745651177876f689b848586aa5a9f6a812.tar.gz
gcc-c4c16f745651177876f689b848586aa5a9f6a812.tar.bz2
libsanitizer merge from upstream r196489
From-SVN: r205700
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 956cb86..db8b3b5 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