mono_arch_unwindinfo_install_tramp_unwind_info can only be called for JIT:ed code.
authorlateralusX <lateralusx.github@gmail.com>
Wed, 15 Mar 2017 09:18:17 +0000 (10:18 +0100)
committerlateralusX <lateralusx.github@gmail.com>
Wed, 15 Mar 2017 09:18:17 +0000 (10:18 +0100)
commitc27b70cc43004c86acc419c68da0287c2a044b74
tree343a267e9d6c9d87af4b5833df106571a9d9ae21
parent25869d138af2ea1eb66d8a7ffe8006c92c46cab3
mono_arch_unwindinfo_install_tramp_unwind_info can only be called for JIT:ed code.

Currently mono_arch_unwindinfo_install_tramp_unwind_info can only be called on
JIT:ed code since it assumes place for unwind info has been allocated behind
code block. When called by AOT:ed code the complete this is have not done and
the unwind info should not be registered with OS for AOT:ed code
(should be part of the image).
mono/mini/aot-runtime.c
mono/mini/mini-runtime.c
mono/mini/mini.h