mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-15 06:29:05 +00:00
docs: Mention that assertions must be enabled to use the -stats flag
Patch by Rob Stewart. Thanks! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230144 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -488,6 +488,9 @@ gathered, use the '``-stats``' option:
|
|||||||
$ opt -stats -mypassname < program.bc > /dev/null
|
$ opt -stats -mypassname < program.bc > /dev/null
|
||||||
... statistics output ...
|
... statistics output ...
|
||||||
|
|
||||||
|
Note that in order to use the '``-stats``' option, LLVM must be
|
||||||
|
compiled with assertions enabled.
|
||||||
|
|
||||||
When running ``opt`` on a C file from the SPEC benchmark suite, it gives a
|
When running ``opt`` on a C file from the SPEC benchmark suite, it gives a
|
||||||
report that looks like this:
|
report that looks like this:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user