[cfe-dev] Using the AddressSanitizer under Windows
Stephen Kelly via cfe-dev
cfe-dev at lists.llvm.org
Sat Jan 26 08:25:18 PST 2019
On 24/01/2019 07:13, Gaier, Bjoern via cfe-dev wrote:
> Because I'm on a Windows7 x64 machine I then linked
> "clang_rt.asan-x86_64.lib" to my project.
I recently started to try to use asan on Windows too.
You need to use different asan libraries depending on whether which
windows runtime you use etc. You can see which ones clang uses under
which flags if you run it with `-v`.
I pasted some cmake code to use asan here:
More information about the cfe-dev