Comment #1 by moonlightsentinel — 2020-08-06T11:37:45Z
Probably because the backend is compiled with `-betterC` which apparently breaks `-cov`.
Comment #2 by dlang-bot — 2020-08-06T12:01:47Z
@MoonlightSentinel created dlang/dmd pull request #11522 "Workaround for Issue 21119 - Disable -betterC for coverage builds" mentioning this issue:
- Workaround for Issue 21119 - Disable -betterC for coverage builds
because -betterC apparently breaks coverage generation
https://github.com/dlang/dmd/pull/11522
Comment #3 by dlang-bot — 2020-08-06T19:43:55Z
dlang/dmd pull request #11522 "Workaround for Issue 21119 - Disable -betterC for coverage builds" was merged into master:
- ceb3cc976f1968d83a2f91112b30bd2a9d0ba647 by MoonlightSentinel:
Workaround for Issue 21119 - Disable -betterC for coverage builds
because `-betterC` apparently breaks coverage generation
https://github.com/dlang/dmd/pull/11522
Comment #4 by bugzilla — 2020-08-06T20:22:40Z
-cov requires linking with druntime, and -betterC explicitly must not require druntime. This is not a bug in the backend.