Using Address Sanitizer in LDC
Nordlöw
per.nordlow at gmail.com
Tue Mar 13 16:34:57 UTC 2018
On Tuesday, 13 March 2018 at 15:12:02 UTC, Nordlöw wrote:
> Can I use address sanitizer (ASan) in LDC 1.8 to find use of
> uninitialized memory in, in my case, a set of containers,
> currently
>
> https://github.com/nordlow/phobos-next/blob/master/src/open_hashmap_or_hashset.d
>
> If so, what arguments should I feed to ldc2's
>
> -fsanitize=<checks>
> -fsanitize-blacklist=<file>
> -fsanitize-coverage=<type>
>
> on the command-line and in my dub.sdl
>
> ?
Ahh, found it at
http://johanengelen.github.io/ldc/2017/12/25/LDC-and-AddressSanitizer.html
More information about the Digitalmars-d-learn
mailing list