Add compiler flag test support to LIT. Fix new/delete tests on apple-clang.

llvm-svn: 237700
4 files changed