'clang debug.ViewCFG *** No output file when this command is executed

clang -cc1 -analyze -analyzer-checker=debug.ViewCFG ***.c

I want to use ViewCFG to get a visual image of the CFG, and after executing the above command there is no file output and no error message. But DumpCFG works fine,like this

clang -cc1 -analyze -analyzer-checker=debug.DumpCFG ***.c

How should this problem be solved?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source