[PATCH] D16200: Add --force-debug option to scan-build to force debug build and hopefully enable more precise warnings.

Anna Zaks via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 15 16:55:01 PST 2016


zaks.anna added a comment.

It would be great if we could make this option more discoverable by the users..

scan-build is being re-implemented in python. Please, add this option to scan-build-py as well; otherwise, it will get lost when we transition.


================
Comment at: tools/scan-build/bin/scan-build:1126
@@ +1125,3 @@
+   Tells analyzer to enable assertions in code even if they were disabled
+   during compilation (to hopefully get more precise results).
+
----------------
How about:
"to hopefully get more precise results" -> "to enable more precise results"

================
Comment at: www/analyzer/scan-build.html:230
@@ +229,3 @@
+<p>Another option is to use <tt>--force-debug</tt> flag of <b>scan-build</b> tool
+which would try to enable assertions automatically.</p>
+
----------------
"which would enable"?


Repository:
  rL LLVM

http://reviews.llvm.org/D16200





More information about the llvm-commits mailing list