mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 16:55:40 +00:00
eb6d411650
It was setup this way in bug 719579 for legitimate reasons (because _msize would end up using the system symbol, which would crash trying to get the size information from jemalloc allocations), but these reasons don't apply anymore: back then the linking situation was different, and nowadays, mozglue.dll exports its own _msize which plugs into mozjemalloc, and sqlite is folded into nss3.dll, which links against mozglue.dll, such that using _msize on mozjemalloc allocations works. For some reason, while _msize (and other similar functions) are exported from mozglue.dll without an explicit instruction to do so on clang-cl builds, that's not the case for mingw builds (presumably related to the definition of these functions in system headers, or lack thereof). So we also add MOZ_EXPORT for them. Differential Revision: https://phabricator.services.mozilla.com/D81286 |
||
---|---|---|
.. | ||
build | ||
gtest | ||
mozalloc | ||
replace | ||
volatile | ||
app.mozbuild | ||
moz.build | ||
moz.configure |