brintos

brintos / llvm-project-archived public Read only

0
0
Text · 575 B · 5082e41 Raw
23 lines · c
1// This header is included in all the test programs (C and C++) and provides a2// hook for dealing with platform-specifics.3 4#if defined(_WIN32) || defined(_WIN64)5#define LLDB_DYLIB_EXPORT __declspec(dllexport)6#define LLDB_DYLIB_IMPORT __declspec(dllimport)7#else8#define LLDB_DYLIB_EXPORT9#define LLDB_DYLIB_IMPORT10#endif11 12#ifdef COMPILING_LLDB_TEST_DLL13#define LLDB_TEST_API LLDB_DYLIB_EXPORT14#else15#define LLDB_TEST_API LLDB_DYLIB_IMPORT16#endif17 18#if defined(_WIN32)19#define LLVM_PRETTY_FUNCTION __FUNCSIG__20#else21#define LLVM_PRETTY_FUNCTION LLVM_PRETTY_FUNCTION22#endif23