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