Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorZoltan Varga <vargaz@gmail.com>2014-03-20 05:03:58 +0400
committerZoltan Varga <vargaz@gmail.com>2014-03-20 05:03:58 +0400
commita7d26d482273950d8435810b571603f1ae300082 (patch)
treec3aae05bf69ce366cb8f342fac24f1de482bef6b /man
parentccdcf9cfdb5cfd752e6ef0e25b1f1c9d30bdb35c (diff)
[jit] Add a 'check-pinvoke-callconv' MONO_DEBUG option to check for cdecl/stdcall mismatches.
Diffstat (limited to 'man')
-rw-r--r--man/mono.16
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