[ASan/Win] Add DLL thunks for the fake stack interface
[blocksruntime.git] / lib / asan / asan_stack.cc
blob8188f3b5b6e91697ea933e1b7a1d73040dbe4781
1 //===-- asan_stack.cc -----------------------------------------------------===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
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
19 extern "C" {
20 SANITIZER_INTERFACE_ATTRIBUTE
21 void __sanitizer_print_stack_trace() {
22 using namespace __asan;
23 PRINT_CURRENT_STACK();
25 } // extern "C"