Using Address Sanitizer in LDC

Nordlöw per.nordlow at gmail.com
Tue Mar 13 15:12:02 UTC 2018


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

?


More information about the Digitalmars-d-learn mailing list