xamarin-macios/tools
Sebastien Pouliot 61372a06ba
[mtouch] Disable some optimizations when the interpreter is enabled (#5770)
Some optimizations are not safe to apply when dynamically loading code
at runtime. This is not possible when ahead-of-time (AOT) compilation
is used, so those options were always enabled in the past. The
interpreter is changing the situation so those optimizations are now
disabled, when the interpreter is enabled.

The disabled optimizations are:

* 'remove-dynamic-registrar' when using the interpreter

This avoid the following exception when unknown (at build time) code
tries to register (at runtime)

```
Unhandled Exception:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> ObjCRuntime.RuntimeException: Can't register the class SubclassDemo.CustomView when the dynamic registrar has been linked away.
```

* 'inline-isdirectbinding' when using the interpreter

This avoid crashing (at runtime) when types are subclasses by the
interpreter (code unknown to `mtouch` at build time).

* 'register-protocols' when the interpreter is enabled

Dynamically loaded code can include protocols. When the optimization is
enabled then they won't be registered and won't work as expected.

Note: It is possible to re-enable the optimization(s), either one or all,
if the interpreter is not used to dynamically load code at runtime.
2019-03-15 09:05:53 -05:00
..
apidiff [apidiff] Remove the `_*` noise in XM diffs (#5721) 2019-03-06 11:02:50 -05:00
bcl-test-importer [XHarness] Reenable the NUnit System.Data tests on mac os x. (#5749) 2019-03-11 18:50:18 +01:00
common [mtouch] Disable some optimizations when the interpreter is enabled (#5770) 2019-03-15 09:05:53 -05:00
install-source Clone files if possible whenever it makes sense. (#5049) 2018-10-29 16:09:30 +01:00
linker Merge branch 'master' into mono-2018-10 2019-02-21 19:30:39 +01:00
mlaunch Clone files if possible whenever it makes sense. (#5049) 2018-10-29 16:09:30 +01:00
mmp Merge remote-tracking branch 'origin/master' into mono-2018-10 2019-02-27 07:43:02 +01:00
mtouch [mtouch] Avoid MT0109 warnings when --repl (or --interpreter) is used (#5771) 2019-03-15 09:02:08 -05:00
siminstaller [siminstaller] Improve failure scenarios. (#5662) 2019-02-25 07:33:37 +01:00
xibuild [xibuild] Add support for /verbose, and use it accordingly. (#5224) 2019-01-09 07:43:22 +01:00
.gitignore Add scripts to calculate API diffs and generated code diff between the current build and another revision. (#3447) 2018-02-13 07:47:47 +01:00
Makefile Add tool to download and install simulators, and use it to provision the iOS 10.3 simulator if needed. Fixes maccore#1442. (#5645) 2019-02-22 10:39:16 +01:00
compare-commits.sh [jenkins] Try to give better information when api comparison / generator diff fails. (#5477) 2019-01-25 17:33:58 +01:00
diff-to-html Add scripts to calculate API diffs and generated code diff between the current build and another revision. (#3447) 2018-02-13 07:47:47 +01:00