[llvm-commits] [PATCH][AddressSanitizer] Make lib\asan compileable using Visual Studio

Timur Iskhodzhanov timurrrr at google.com
Fri Jan 27 05:03:13 PST 2012


Hi,

The attached patch makes compiler-rt/trunk/lib/asan compileable with
Visual Studio 2008 on Windows.

To test:
$ cl /c *.c*
in the asan directory.

The code fails to link if you omit the "/c" part but that's one of the
next steps,
as well as a few TODO's I've put into the Windows-specific code.

I've also checked that ASan still passes its tests on Linux x64
using this instruction:
http://code.google.com/p/address-sanitizer/wiki/HowToBuild

Can you please do a review for this patch?

Thanks,
Timur Iskhodzhanov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: win.patch
Type: text/x-patch
Size: 6474 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120127/75e8ad9b/attachment.bin>


More information about the llvm-commits mailing list