diff options
author | Daniel Dunbar <daniel@zuster.org> | 2012-10-19 20:12:00 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2012-10-19 20:12:00 +0000 |
commit | 519a349c8a91873edc3b68a522f7338559cbe0a0 (patch) | |
tree | d5b85357b1e19b0e97c34b4afaa8e1fe1a5a6cd7 /llvm/docs/CommandGuide | |
parent | 37c4275a92e8b39e761b693002eaf4fc1ec8f158 (diff) | |
download | bcm5719-llvm-519a349c8a91873edc3b68a522f7338559cbe0a0.tar.gz bcm5719-llvm-519a349c8a91873edc3b68a522f7338559cbe0a0.zip |
lit: Add 'valgrind' and 'valgrind-leaks' features when valgrind is used.
- These can be used with the XFAIL options.
llvm-svn: 166303
Diffstat (limited to 'llvm/docs/CommandGuide')
-rw-r--r-- | llvm/docs/CommandGuide/lit.rst | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/llvm/docs/CommandGuide/lit.rst b/llvm/docs/CommandGuide/lit.rst index 3eb0be91f13..841bd20d17d 100644 --- a/llvm/docs/CommandGuide/lit.rst +++ b/llvm/docs/CommandGuide/lit.rst @@ -125,6 +125,10 @@ EXECUTION OPTIONS *--error-exitcode* argument for valgrind is used so that valgrind failures will cause the program to exit with a non-zero status. + When this option is enabled, **lit** will also automatically provide a + "valgrind" feature that can be used to conditionally disable (or expect failure + in) certain tests. + **--vg-arg**\ =\ *ARG* @@ -133,6 +137,15 @@ EXECUTION OPTIONS +**--vg-leak** + + When *--vg* is used, enable memory leak checks. When this option is enabled, + **lit** will also automatically provide a "valgrind-leaks" feature that can be + used to conditionally disable (or expect failure in) certain tests. + + + + **--time-tests** Track the wall time individual tests take to execute and includes the results in |