We should emit mutable data that can't alias GC memory to a separate .noptr section, so that it can be excluded when scanning GC roots.
Might make more sense to add a special ptrdata section, so that the GC only has to scan that.
Something along this line from Rainer. https://github.com/D-Programming-Language/dmd/pull/5047#issuecomment-138125410 https://github.com/rainers/dmd/commit/e6a3d1778ad2969fc7bcb378a084b8d865b015c7
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/18978 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB