[loader] If probing for a pinvoke fails, log the error mono_dl_symbol gives us.
commit64058140ee8917d9c55d57781e27e6f7899cd0e1
authorRodrigo Kumpera <kumpera@gmail.com>
Mon, 2 Feb 2015 16:04:37 +0000 (2 11:04 -0500)
committerRodrigo Kumpera <kumpera@gmail.com>
Thu, 5 Mar 2015 20:12:36 +0000 (5 15:12 -0500)
treed5e8b0a20369308a4fbb6f8f79730c3132e9f79a
parent53406a1e0c22815315939d1f2b3a38efc9f75ce4
[loader] If probing for a pinvoke fails, log the error mono_dl_symbol gives us.

We used to swallow the error, which is unhelpful.

The reason for that might be because we probe multiple names before giving up but
even then, it's ok log all attempts. It will make troubleshooting easy, even if we
have to go through a lot more log entries.
mono/metadata/loader.c