1 //===-- asan_stack.cc -----------------------------------------------------===//
3 // This file is distributed under the University of Illinois Open Source
4 // License. See LICENSE.TXT for details.
6 //===----------------------------------------------------------------------===//
8 // This file is a part of AddressSanitizer, an address sanity checker.
10 // Code for ASan stack trace.
11 //===----------------------------------------------------------------------===//
12 #include "asan_internal.h"
13 #include "asan_stack.h"
15 // ------------------ Interface -------------- {{{1
18 SANITIZER_INTERFACE_ATTRIBUTE
19 void __sanitizer_print_stack_trace() {
20 using namespace __asan
;
21 PRINT_CURRENT_STACK();