[PATCH] D36168: added support for build with dataflow sanitizer

Farah Hariri via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 1 12:25:38 PDT 2017


farahhariri created this revision.
Herald added a subscriber: mgorny.

[libc++] added support for build with dataflow sanitizer


https://reviews.llvm.org/D36168

Files:
  CMakeLists.txt


Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -572,6 +572,8 @@
     endif()
     if (LLVM_USE_SANITIZER STREQUAL "Address")
       add_flags("-fsanitize=address")
+    elseif (LLVM_USE_SANITIZER MATCHES "Dataflow")
+      add_flags("-fsanitize=dataflow")
     elseif (LLVM_USE_SANITIZER MATCHES "Memory(WithOrigins)?")
       add_flags(-fsanitize=memory)
       if (LLVM_USE_SANITIZER STREQUAL "MemoryWithOrigins")


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36168.109177.patch
Type: text/x-patch
Size: 500 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170801/a8d2dabf/attachment.bin>


More information about the cfe-commits mailing list