Add a --crash option to not.
authorRafael Espindola <rafael.espindola@gmail.com>
Fri, 5 Jul 2013 02:50:03 +0000 (02:50 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Fri, 5 Jul 2013 02:50:03 +0000 (02:50 +0000)
commita5db79d5148d3972b90390f526fd35d707729c5a
tree4c9c94d67373505814981c3c0b5ba2b5aa21fa73
parentb1b738e03613e98f0ae367af1b5423221c5bd29d
Add a --crash option to not.

Now the two possible uses of not are
* not cmd
  Will return true if cmd doesn't crash and returns false.
* not --crash cmd
  Will return true if cmd crashes.

It will be used/tested in a followup commit for the clang crash recovery
testing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185678 91177308-0d34-0410-b5e6-96231b3b80d8
utils/not/not.cpp