Add support for XFAILing valgrind runs with memory leak checking independently
of runs without leak checking.  We add -vg to the triple for non-checked runs,
or -vg_leak for checked runs.  Also use this to XFAIL the TableGen tests, since
tablegen leaks like a sieve.  This includes some valgrindArgs refactoring.

llvm-svn: 99103
40 files changed
tree: 259ef5a3ecb34748ddda6e6faeaf013226d87ae8
  1. clang/
  2. compiler-rt/
  3. llvm/