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>
8 * Johan Lorensson <johan.lorensson@xamarin.com>
10 * Copyright 2015 Xamarin, Inc (http://www.xamarin.com)
11 * Licensed under the MIT license. See LICENSE file in the project root for full license information.
13 #ifndef MINI_AMD64_GSHAREDVT_H
14 #define MINI_AMD64_GSHAREDVT_H
17 GSHAREDVT_ARG_NONE
= 0,
18 GSHAREDVT_ARG_BYVAL_TO_BYREF
,
19 GSHAREDVT_ARG_BYREF_TO_BYVAL
,
20 } GSharedVtArgMarshal
;
23 GSHAREDVT_RET_NONE
= 0,
24 GSHAREDVT_RET_I1
, // 1 byte integer
25 GSHAREDVT_RET_U1
, // 1 byte unsigned
26 GSHAREDVT_RET_I2
, // 2 byte integer
27 GSHAREDVT_RET_U2
, // 2 byte unsigned
28 GSHAREDVT_RET_I4
, // 4 byte integer
29 GSHAREDVT_RET_U4
, // 4 byte unsigned
30 GSHAREDVT_RET_I8
, // 8 byte integer
31 GSHAREDVT_RET_IREGS_1
, // Load in first return register
32 GSHAREDVT_RET_R8
, // Double
34 } GSharedVtRetMarshal
;
36 static const char* ret_marshal_name
[] = {
45 "GSHAREDVT_RET_IREGS_1",
50 #ifdef DEBUG_AMD64_GSHAREDVT
51 #define DEBUG_AMD64_GSHAREDVT_PRINT printf
53 #define DEBUG_AMD64_GSHAREDVT_PRINT(...)
56 #endif /* MINI_AMD64_GSHAREDVT_H */