[LLVMbugs] [Bug 16213] New: Cannot Run Scan-Build from Windows Command Prompt

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jun 3 13:37:38 PDT 2013


            Bug ID: 16213
           Summary: Cannot Run Scan-Build from Windows Command Prompt
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Keywords: build-problem, documentation
          Severity: normal
          Priority: P
         Component: Documentation
          Assignee: unassignedclangbugs at nondot.org
          Reporter: jal054 at bucknell.edu
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Following the instructions found here:
http://clang.llvm.org/get_started.html#build, for building LLVM and Clang in
Visual Studio, I have been unable to access the command scan-build as well as
find the command in either the llvm directory, the clang directory, or the
build directory. I have also looked in the bin folders in the llvm directory
and the build directory with no success. 

To run the Clang Static Analyzer, instructions here:
http://clang-analyzer.llvm.org/scan-build.html, you are supposed to just be
able to run it in your project directory, as long as it can be found in your
path. After building in Visual Studio 2012 (Visual Studio 11), I have been
unable to find any of the .exe files that should of been built. However the
clang-test build works with the regression tests running just fine, so I know
clang has been installed and must be operating from somewhere on the machine.

My question is this then, has the instructions for the operation of the Static
Analyzer included in clang changed since the website was last updated? If this
is the case, then what is the new necessary command from running the analyzer
from the Windows Command Prompt, as well as the flags? Is there a way to use
the Clang Static Analyzer from Visual Studio? From my nosing through the .txt
files from the build it appears the only install is clang and it goes to the
bin file, but I am unable to find this bin with these tools and executable
files in it after much searching.

Expansion and clarification of the documentation would be most appreciative. If
a solution or updated documentation has been provided, then a link to this
material would suffice and I can continue my work and using the static analysis

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130603/3f48df4a/attachment.html>

More information about the llvm-bugs mailing list