aboutsummaryrefslogtreecommitdiffstats
path: root/vespamalloc/src/tests/stacktrace/backtrace.h
blob: 3700319162e20e38f18cc4043bda09a02f817029 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once

#ifdef __cplusplus
extern "C" {
#endif

int FastOS_backtrace (void **array, int size);

#if defined(__x86_64__)
int backtrace (void **array, int size);
#endif

#ifdef __cplusplus
}
#endif