My first post on this disappeared suddenly, so I'm sorry if I somehow duplicated it.
When I try to create a native Android library in Visual Studio that Xamarin can call, the output .so has no symbols in it, including the ones I want. "nm" simply says "no symbols". This is the function I want to export, but it's not appearing:
extern "C" __attribute__((__visibility__("default")))
int TestDriverMain(AndroidFrontEnd::WriteMessageCallback callback, void *context)
In IDA Pro, this function is shown, along with all symbol names.