mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-23 15:32:26 +00:00
24 lines
727 B
C++
24 lines
727 B
C++
|
//===-- asan_stack.cc -----------------------------------------------------===//
|
||
|
//
|
||
|
// This file is distributed under the University of Illinois Open Source
|
||
|
// License. See LICENSE.TXT for details.
|
||
|
//
|
||
|
//===----------------------------------------------------------------------===//
|
||
|
//
|
||
|
// This file is a part of AddressSanitizer, an address sanity checker.
|
||
|
//
|
||
|
// Code for ASan stack trace.
|
||
|
//===----------------------------------------------------------------------===//
|
||
|
#include "asan_internal.h"
|
||
|
#include "asan_stack.h"
|
||
|
|
||
|
// ------------------ Interface -------------- {{{1
|
||
|
|
||
|
extern "C" {
|
||
|
SANITIZER_INTERFACE_ATTRIBUTE
|
||
|
void __sanitizer_print_stack_trace() {
|
||
|
using namespace __asan;
|
||
|
PRINT_CURRENT_STACK();
|
||
|
}
|
||
|
} // extern "C"
|