Fix warnings uncovered by building with clang-cl
authorReid Kleckner <rnk@google.com>
Fri, 1 Apr 2016 17:09:12 +0000 (17:09 +0000)
committerReid Kleckner <rnk@google.com>
Fri, 1 Apr 2016 17:09:12 +0000 (17:09 +0000)
commit1992ac75dbb41bae2c13fe94a7774dd89d7f8860
tree424fb26c95d17649a9d72066471801bad94da7b7
parenta8e5c0c2007784e1ff4143db0b9c50612de0ca47
Fix warnings uncovered by building with clang-cl

Move ifdefs to avoid unused static helpers. Move alignment attribute so
that it is respected in GCC and MSVC.

llvm-svn: 265153
compiler-rt/lib/asan/asan_interceptors.cc
compiler-rt/lib/sanitizer_common/sanitizer_libc.cc