[aot] Resolve profile against compiled assembly (#13148)
commit4a96c5e715d99a1399cf88ed3b2621ee9c84898c
authorRadek Doulik <radekdoulik@users.noreply.github.com>
Mon, 25 Feb 2019 13:35:48 +0000 (25 14:35 +0100)
committermonojenkins <jo.shields+jenkins@xamarin.com>
Mon, 25 Feb 2019 13:35:48 +0000 (25 08:35 -0500)
tree7ac897db0eddca121e13d8a651a7126ba16edfbd
parentecef8d334a3b718f304644c4c27f52428d134b6d
[aot] Resolve profile against compiled assembly (#13148)

[aot] Resolve profile against compiled assembly

When trying to use AOT profile in XA for assembly AOT compilation, the
methods from the profile were not compiled.

Context: https://github.com/xamarin/xamarin-android/issues/2504

The problem was, the profile data were not resolved, as there was no
assembly loaded in the domain.

With this fix, the compiled assembly is used to resolve the profile as
well.
mono/mini/aot-compiler.c