aboutsummaryrefslogtreecommitdiffstats
path: root/utils/not
diff options
context:
space:
mode:
Diffstat (limited to 'utils/not')
-rw-r--r--utils/not/not.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/not/not.cpp b/utils/not/not.cpp
index 2adeded..23062fb 100644
--- a/utils/not/not.cpp
+++ b/utils/not/not.cpp
@@ -6,6 +6,11 @@
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
+// Usage:
+// not cmd
+// Will return true if cmd doesn't crash and returns false.
+// not --crash cmd
+// Will return true if cmd crashes (e.g. for testing crash reporting).
#include "llvm/Support/Path.h"
#include "llvm/Support/Program.h"