[PATCH] D81239: Correctly report modified status for DataFlowSanitizer

serge via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 5 01:03:47 PDT 2020


serge-sans-paille created this revision.
serge-sans-paille added reviewers: foad, nikic, jdoerfert, pcc.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.

Related to https://reviews.llvm.org/D80916


https://reviews.llvm.org/D81239

Files:
  llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp


Index: llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
===================================================================
--- llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
+++ llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
@@ -1044,7 +1044,7 @@
     }
   }
 
-  return false;
+  return !FnsToInstrument.empty();
 }
 
 Value *DFSanFunction::getArgTLSPtr() {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81239.268692.patch
Type: text/x-patch
Size: 391 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200605/585f5662/attachment.bin>


More information about the llvm-commits mailing list