gecko-dev/xpcom
Nathan Froyd 2d58b9d7fb Bug 1455178 - avoid static constructors for atom initialization; r=njn
For reasons unknown, if you give MSVC:

// Foo.h
struct Foo
{
  ...
};

extern const Foo gFoo;

// Foo.cpp, which necessarily includes Foo.h.
extern constexpr Foo gFoo = {
};

MSVC will create a static initializer for gFoo and place it in the
read/write data section, rather than the read-only data section.
Removing the `extern const` declaration seems to be enough to make this
problem go away.  We need to adjust the declaration of other variables
to compensate for the non-visibility of gFoo in the header file.
2018-04-22 16:53:22 -04:00
..
base Bug 1451002 - Send ongoing memory pressure notifications when a low-memory condition persists for a long time; r=njn 2018-04-18 17:07:39 +02:00
build Bug 1432653: Refactor the DLL interceptor and parameterize its memory operations; r=handyman 2018-04-09 13:37:52 -06:00
components Backed out 8 changesets (bug 1453011, bug 1452981, bug 1146316) For xpcshell and mochitest failures on multiple files. CLOSED TREE 2018-04-20 21:40:24 +03:00
doc
ds Bug 1455178 - avoid static constructors for atom initialization; r=njn 2018-04-22 16:53:22 -04:00
glue Bug 1428557 - Implement wrappers in FileUtils. r=froydnj 2018-02-02 23:25:10 +09:00
idl-parser Bug 1444991 - Part 2: Parse webidl productions in xpidl, r=mccr8 2018-04-17 19:21:00 -04:00
io Bug 1455178 - avoid static constructors for atom initialization; r=njn 2018-04-22 16:53:22 -04:00
libxpt/xptcall Bug 1403959, part 2 - Automatically generated eslint fixes. r=froydnj 2017-09-28 15:49:04 -07:00
reflect Bug 1455221 - Part 3: Increase size of table used by perfect hash function from 256 to 512. r=nika 2018-04-20 10:13:00 +03:00
rust Bug 1453551 - Don't use i8 as c_char in xpcom-gtest. r=mystor 2018-04-12 15:28:08 +09:00
string Backed out 4 changesets (bug 525063) on request from Andi. a=backout 2018-04-13 16:01:28 +03:00
system Bug 1455458: De-XPIDLify the blocklist service. r=gijs 2018-04-19 16:01:24 -07:00
tests Bug 1451686 - Allow also -MOZ_LOG/_FILE=value form of the logging arguments. r=erahm 2018-04-13 05:38:00 -04:00
threads Bug 1454052 - make MakeScopeExit a MOZ_MUST_USE function; r=gerald 2018-04-18 12:14:18 -04:00
typelib Bug 1444745 - Part 1: Clear out xptinfo and typelib to make way for the this patch, r=mccr8 2018-04-17 19:20:50 -04:00
windbgdlg
xpidl Bug 1390916 - Always use --track instead of --no-remove for install manifests; r=gps 2017-08-08 17:07:07 -04:00
moz.build Bug 1444745 - Part 1: Clear out xptinfo and typelib to make way for the this patch, r=mccr8 2018-04-17 19:20:50 -04:00
xpcom-config.h.in
xpcom-private.h.in Bug 1423846 - Remove configure script checks for iconv and mbrtowc/tcrtomb. r=glandium 2017-12-07 14:06:53 +02:00