зеркало из https://github.com/mozilla/gecko-dev.git
d6d1ff2060
In the tree we have two copies of printf_stderr() with the comment, "Ideally this should be shared". This moves the function to a new exported header which can be the basis for other similar debugging utility functions. To include it, #include "mozilla/glue/Debug.h" A small concern with this is that printf_stderr() is in the global namespace, and could conflict if it's inadvertently included along with, for example, nsDebug.h which also defines this function. The warning in the comment at the top of the file attempts to mitigate this. Differential Revision: https://phabricator.services.mozilla.com/D13196 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
AsanOptions.cpp | ||
Authenticode.cpp | ||
Authenticode.h | ||
BionicGlue.cpp | ||
Makefile.in | ||
MozglueUtils.h | ||
SSE.cpp | ||
SSE.h | ||
UbsanOptions.cpp | ||
UntrustedDllsHandler.cpp | ||
UntrustedDllsHandler.h | ||
WindowsDllBlocklist.cpp | ||
WindowsDllBlocklist.h | ||
WindowsDllBlocklistCommon.h | ||
WindowsDllBlocklistDefs.h | ||
WindowsDllServices.h | ||
arm-eabi-filter | ||
arm.cpp | ||
arm.h | ||
cygprofile.cpp | ||
dummy.cpp | ||
mips.cpp | ||
mips.h | ||
moz.build | ||
mozglue.def.in | ||
mozglue.dll.manifest | ||
mozglue.rc | ||
replace_malloc.mk |