phobos/std/regex/internal
Martin 3db3dd8899 std.regex: Alignment hotfix
This fixes the unittests for LDC on ARM (with enabled optimizations).

The code used to store a class instance (whose size isn't padded) right
before some buffer, without any padding inbetween. The buffer is thus
susceptible to misalignment; e.g., `BacktrackingMatcher.dupTo()` casts
the buffer from `void[]` to `size_t[]` (in `initExternalMemory()`),
simply assuming an alignment >= `size_t.alignof`, which only holds if
the prepended class instance size is a multiple of that (as `malloc()`
returns a sufficiently aligned block already in this case).
2018-02-15 20:41:59 +01:00
..
backtracking.d Remove staticIota: std_regex_internal_backtracking 2018-01-22 17:18:59 +01:00
generator.d Revert "Sort selective imports" 2017-06-13 17:51:52 +00:00
ir.d std.regex: Alignment hotfix 2018-02-15 20:41:59 +01:00
kickstart.d Use static foreach in Phobos 2018-01-03 17:30:11 +01:00
parser.d Drop another level of templatizations in backtracking 2017-10-11 18:18:12 +03:00
tests.d Splitup regex tests to please auto-tester 2018-01-24 17:59:40 +01:00
tests2.d Splitup regex tests to please auto-tester 2018-01-24 17:59:40 +01:00
thompson.d Need to propagate subCounters 2017-10-06 11:20:55 +03:00