xamarin-macios/tests/linker
Rolf Bjarne Kvinge 135507957f
[linker] Remove non-bitcode compatible code, and show a warning. (#5551)
* [linker] Remove non-bitcode compatible code, and show a warning.

Remove code not currently compatible with bitcode and replace it with an
exception instead (otherwise we'll assert at runtime).

Also show a warning when we detect this.

This is quite helpful when looking at watch device test runs to filter out
failures we already know about.

This fixes point #2 in #4763.

* Improve documentation.

* Simplify linker code by using a substep.

* Fix whitespace issues.

* Improve reporting.

* Add support for reporting more than one MT2105 at the same time when making
  the errors instead of warnings.
* Only report MT2105 for methods that haven't been linked away.
* Format the error message nicer for properties.

* Tweak a bit for warning tests to pass.

* Use ExceptionalSubStep to provide better error information.

* Adjust where linker warnings/errors are reported from to avoid a NullReferenceException.
2019-02-07 07:57:01 +01:00
..
ios [linker] Remove non-bitcode compatible code, and show a warning. (#5551) 2019-02-07 07:57:01 +01:00
mac Mono 2018-08 requires macOS 10.9+, so Xamarin.Mac must as well. 2018-10-25 09:54:43 +02:00
BaseOptimizeGeneratedCodeTest.cs [tests] Adjust SetupBlockPerfTest to expect at least a 6x speedup instead of 8x. Fixes maccore #649. (#4006) 2018-04-27 11:58:09 -04:00
CommonDontLinkTest.cs [tests][mmp] Move TypeDescriptor (regression) tests to unit tests (#4994) 2018-10-17 08:25:37 -04:00
CommonLinkAllTest.cs [tests][linkall] Add a check that the Makefile produced version number is 'legit'. Fixes #4859 (#5005) 2018-10-18 11:16:24 -04:00
CommonLinkSdkTest.cs [tests][mmp] Move TypeDescriptor (regression) tests to unit tests (#4994) 2018-10-17 08:25:37 -04:00