chrome_elf.dll exports several functions to do with crash reporting. At the present time, these are declared with __declspec(dllexport) and some in /components/crash/content/app, which is then linked into all and sundry. As result, we export these functions from everything that directly or indirectly links it, including chrome_elf.dll, chrome.dll and chrome_child.dll.
There's other non-beauty in this code, notably the function signatures are declared at least twice, and on use there's at least two dips under the loader's lock for GetModuleHandle/GetProcAddress.
This https://chromium-review.googlesource.com/c/596416 CL eliminates one of those thunks for saner import binding, and it'd be a good idea to eliminate the rest as well.
Comment 1 by siggi@chromium.org
, Aug 14 2017