[PATCH] Disable statistics on Release builds and move tests that depend on -stats.

Jan Voung jvoung at chromium.org
Fri Mar 1 15:35:59 PST 2013


Statistics are still available in Release+Asserts (or any +Asserts builds),
and they can also be turned on with LLVM_ENABLE_STATS.

Also change some of the FastISel stats that were moved under DEBUG()
back out of DEBUG(), since stats are disabled across the board now.

Many tests depend on grepping "-stats" output.  Move those into
a orig_dir/Stats/. so that they can be marked as unsupported
when building without statistics.

http://llvm-reviews.chandlerc.com/D486
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130301/14346fcf/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D486.3.patch
Type: application/octet-stream
Size: 172434 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130301/14346fcf/attachment.obj>


More information about the llvm-commits mailing list