d: Ensure all unittests are registered against the original module.
authorIain Buclaw <ibuclaw@gdcproject.org>
Sun, 21 Apr 2019 07:03:22 +0000 (07:03 +0000)
committerIain Buclaw <ibuclaw@gcc.gnu.org>
Sun, 21 Apr 2019 07:03:22 +0000 (07:03 +0000)
commitf452f0d67f1a5a0da4e1e15026c5a9c322c2f5b7
tree9d1ebf2d51a3d592f3da1e990227110b34824acb
parent7bbcf395754a39d1125003bf49432fbd54a5401d
d: Ensure all unittests are registered against the original module.

As any unittest functions registered against the testing module when
compiling with -fbuilding-libphobos-tests are ignored during the
generation of the ModuleInfo data.

gcc/d/ChangeLog:

2019-04-21  Iain Buclaw  <ibuclaw@gdcproject.org>

* modules.cc (register_module_decl): Don't register unittests against
the ModuleInfo symbol for -fbuilding-libphobos-tests.

From-SVN: r270477
gcc/d/ChangeLog
gcc/d/modules.cc