diff options
author | Zoltan Varga <vargaz@gmail.com> | 2014-03-20 05:03:58 +0400 |
---|---|---|
committer | Zoltan Varga <vargaz@gmail.com> | 2014-03-20 05:03:58 +0400 |
commit | a7d26d482273950d8435810b571603f1ae300082 (patch) | |
tree | c3aae05bf69ce366cb8f342fac24f1de482bef6b /man/mono.1 | |
parent | ccdcf9cfdb5cfd752e6ef0e25b1f1c9d30bdb35c (diff) |
[jit] Add a 'check-pinvoke-callconv' MONO_DEBUG option to check for cdecl/stdcall mismatches.
Diffstat (limited to 'man/mono.1')
-rw-r--r-- | man/mono.1 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/man/mono.1 b/man/mono.1 index 74cbb7dbb8b..99be6c4f23b 100644 --- a/man/mono.1 +++ b/man/mono.1 @@ -1534,6 +1534,12 @@ after a SIGSEGV or SIGABRT in unmanaged code. This option will suspend the program when a native SIGSEGV is received. This is useful for debugging crashes which do not happen under gdb, since a live process contains more information than a core file. +.TP +\fBcheck-pinvoke-callconv\fR +This option causes the runtime to check for calling convention +mismatches when using pinvoke, i.e. mixing cdecl/stdcall. It only +works on windows. If a mismatch is detected, an +ExecutionEngineException is thrown. .ne .RE .TP |