title: Clang Address Sanitizer on OS X
body: <p>I would like to use clang address sanitizer on OSX Mountain Lion, because Valgrind have problems with memory check on this platform.
  But when I had the <code>-fsanitize=address</code> during the compilation time (like I see on this page : <a href="http://clang.llvm.org/docs/AddressSanitizer.html" rel="nofollow noreferrer">http://clang.llvm.org/docs/AddressSanitizer.html</a>), I got this error : <code>clang: error: argument unused during compilation: '-fsanitize=address'</code></p>
  
  <p>So, my question is how to use Clang Address Sanitizer on OS X ? If I can't use it, what tool I can use it?</p>
  
  <p>I have download clang with Xcode and it's up-to-date. (maybe this version has not address sanitizer build with it)</p>