[aot] Resolve profile against compiled assembly (#13156)
commit979cf7978bfbca69914b5579fbc6fc08a0cb15c4
authormonojenkins <jo.shields+jenkins@xamarin.com>
Mon, 25 Feb 2019 16:26:11 +0000 (25 11:26 -0500)
committerGitHub <noreply@github.com>
Mon, 25 Feb 2019 16:26:11 +0000 (25 11:26 -0500)
tree858779ff266bff5762012717a1332ba9637053a1
parentb4f8e8a698f9c0a7597bc482e5cf4cff0805af2b
[aot] Resolve profile against compiled assembly (#13156)

[2019-02] [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.

Backport of #13148.

/cc @luhenry @radekdoulik
mono/mini/aot-compiler.c