[ubsan] Make suppressions.cpp test pass for me on Windows
authorReid Kleckner <rnk@google.com>
Fri, 1 Feb 2019 21:35:17 +0000 (21:35 +0000)
committerReid Kleckner <rnk@google.com>
Fri, 1 Feb 2019 21:35:17 +0000 (21:35 +0000)
commit33706e3cbf35dd55f67ee0802d50e96b07757bc1
tree13ac732d0787f803c3ffb9c025cc9a8107e2a83a
parentafc24ed21adfe61f1223e49e1f2cc0afb6a056e8
[ubsan] Make suppressions.cpp test pass for me on Windows

The test seems to be failing because the module suppression file
contains a colon. I found that it was sufficient to just use the
basename of the suppression file.

While I was here, I noticed that we don't implement IsAbsolutePath for
Windows, so I added it.

llvm-svn: 352921
compiler-rt/lib/sanitizer_common/sanitizer_win.cc
compiler-rt/test/ubsan/TestCases/Integer/suppressions.cpp