PR target/37072
[official-gcc.git] / libsanitizer / asan / asan_stack.cc
blob96178e8247b67e1630b4a001cee165f627903cea
1 //===-- asan_stack.cc -----------------------------------------------------===//
2 //
3 // This file is distributed under the University of Illinois Open Source
4 // License. See LICENSE.TXT for details.
5 //
6 //===----------------------------------------------------------------------===//
7 //
8 // This file is a part of AddressSanitizer, an address sanity checker.
9 //
10 // Code for ASan stack trace.
11 //===----------------------------------------------------------------------===//
12 #include "asan_internal.h"
13 #include "asan_stack.h"
15 // ------------------ Interface -------------- {{{1
17 extern "C" {
18 SANITIZER_INTERFACE_ATTRIBUTE
19 void __sanitizer_print_stack_trace() {
20 using namespace __asan;
21 PRINT_CURRENT_STACK();
23 } // extern "C"