aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/make/test_common.h
blob: 5082e4198702017520f52def8e9370a753b05505 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// This header is included in all the test programs (C and C++) and provides a
// hook for dealing with platform-specifics.

#if defined(_WIN32) || defined(_WIN64)
#define LLDB_DYLIB_EXPORT __declspec(dllexport)
#define LLDB_DYLIB_IMPORT __declspec(dllimport)
#else
#define LLDB_DYLIB_EXPORT
#define LLDB_DYLIB_IMPORT
#endif

#ifdef COMPILING_LLDB_TEST_DLL
#define LLDB_TEST_API LLDB_DYLIB_EXPORT
#else
#define LLDB_TEST_API LLDB_DYLIB_IMPORT
#endif

#if defined(_WIN32)
#define LLVM_PRETTY_FUNCTION __FUNCSIG__
#else
#define LLVM_PRETTY_FUNCTION LLVM_PRETTY_FUNCTION
#endif