Address danalbert's post-commit review comments on D7019 and small fixes.
authorEric Fiselier <eric@efcs.ca>
Tue, 20 Jan 2015 16:14:18 +0000 (16:14 +0000)
committerEric Fiselier <eric@efcs.ca>
Tue, 20 Jan 2015 16:14:18 +0000 (16:14 +0000)
commit747c0fda5de57fb35518cb9b983ae5efe106c231
tree3fef5171b6a6677da73636c8b82d6e3496408708
parente7a647886a9631e4873ec5bdffa8cadabd69c28d
Address danalbert's post-commit review comments on D7019 and small fixes.

This patch addresses some comments on http://reviews.llvm.org/D7019.

- Move compiler.py to test/libcxx from test/libcxx/test.
- Make CXXCompiler.target None by default.
- Use `{}` instead of `dict()` to initialize an empty dict.
- Pass the -fsanitize options to both the compile and link commands.

llvm-svn: 226575
libcxx/test/libcxx/compiler.py [moved from libcxx/test/libcxx/test/compiler.py with 98% similarity]
libcxx/test/libcxx/test/config.py