Commits

zaks committed ef925f8fb3e
[asan] Add basic support for Address Sanitizer function instrumentation ASan allows to catch and diagnose memory corruption errors, which are possible when using unsafe pointers. This patch introduces a new driver/frontend option -sanitize=address to enable ASan. When option is passed in, the ASan llvm passes will be turned on and all functions will gain SanitizeAddress llvm attribute.