<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
This functionality is under `#ifndef NDEBUG`, removed from builds
without asserts. I don't instantly understand the good reason for
that though. Even if there is one, we should mention it on the
website
(<a class="moz-txt-link-freetext" href="http://clang-analyzer.llvm.org/checker_dev_manual.html#visualizing">http://clang-analyzer.llvm.org/checker_dev_manual.html#visualizing</a>).<br>
<br>
There are no dependencies involved; all clang has to do is to write
a plain-text .dot file by hand and system() a universal viewer
command (eg. xdg-open on linux).<br>
<br>
<br>
<div class="moz-cite-prefix">14/03/2017 9:10 PM, Aleksei Sidorin via
cfe-dev wrote:<br>
</div>
<blockquote
cite="mid:953153c9-8186-fe37-7245-856505e3e32f@samsung.com"
type="cite">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<div class="moz-cite-prefix">I can only guess (didn't try it) but
there may be problems with dependencies. Could you try to build
clang from sources and test it? You can also try to use strace
to see what kind of dot viewer is called in the pre-built
binary.<br>
<br>
<br>
14.03.2017 18:36, Xin Wang via cfe-dev пишет:<br>
</div>
<blockquote
cite="mid:CAG3cUgsqjvWM443+sxow68fn0+kY77ho1XFaib0q3Wu=CTKgdw@mail.gmail.com"
type="cite">
<div dir="ltr">
<p class="MsoNormal"><span lang="EN-US">Hello!<span></span></span></p>
<p class="MsoNormal"><span lang="EN-US">For the pre-built
binaries(LLVM4.0.0) of clang for x86_64 Ubuntu16.04, the
analyzer checkers debug.ViewCFG and
debug.ViewExplodedGraph can't output the graph. But for
the pre-built binaries(LLVM4.0.0) of clang for
Windows(64-bit), they work well. What's the reason?<span></span></span></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
cfe-dev mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a>
</pre>
</blockquote>
<br>
<p><br>
</p>
<pre class="moz-signature" cols="72">--
Best regards,
Aleksei Sidorin,
SRR, Samsung Electronics
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
cfe-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>
<a class="moz-txt-link-freetext" href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>