2 * mini-exceptions-native-unwinder.c: libcorkscrew-based native unwinder
5 * Zoltan Varga <vargaz@gmail.com>
6 * Rodrigo Kumpera <kumpera@gmail.com>
7 * Andi McClure <andi.mcclure@xamarin.com>
9 * Copyright 2015 Xamarin, Inc (http://www.xamarin.com)
10 * Licensed under the MIT license. See LICENSE file in the project root for full license information.
12 #ifndef MINI_AMD64_GSHAREDVT_H
13 #define MINI_AMD64_GSHAREDVT_H
16 GSHAREDVT_ARG_NONE = 0,
17 GSHAREDVT_ARG_BYVAL_TO_BYREF,
18 GSHAREDVT_ARG_BYREF_TO_BYVAL,
19 } GSharedVtArgMarshal;
22 GSHAREDVT_RET_NONE = 0,
23 GSHAREDVT_RET_I1, // 1 byte integer
24 GSHAREDVT_RET_U1, // 1 byte unsigned
25 GSHAREDVT_RET_I2, // 2 byte integer
26 GSHAREDVT_RET_U2, // 2 byte unsigned
27 GSHAREDVT_RET_I4, // 4 byte integer
28 GSHAREDVT_RET_U4, // 4 byte unsigned
29 GSHAREDVT_RET_I8, // 8 byte integer
30 GSHAREDVT_RET_IREGS_1, // Load in first return register
31 GSHAREDVT_RET_R8, // Double
33 } GSharedVtRetMarshal;
35 static const char* ret_marshal_name[] = {
44 "GSHAREDVT_RET_IREGS_1",
49 #ifdef DEBUG_AMD64_GSHAREDVT
50 #define DEBUG_AMD64_GSHAREDVT_PRINT printf
52 #define DEBUG_AMD64_GSHAREDVT_PRINT(...)
55 #endif /* MINI_AMD64_GSHAREDVT_H */