clang/test/Driver/fsanitize.c: Fix -fsanitize=vptr using default target
authorFangrui Song <maskray@google.com>
Sat, 13 Jul 2019 00:47:58 +0000 (00:47 +0000)
committerFangrui Song <maskray@google.com>
Sat, 13 Jul 2019 00:47:58 +0000 (00:47 +0000)
commitcafb5d24dfa0faf3fa7dfb7eefd7df08aeb01e55
treed310fdb87dc6a13af328596140b7647f7cbe6077
parent41c22b4390c763f6fc36ec984f3786d465c434b5
clang/test/Driver/fsanitize.c: Fix -fsanitize=vptr using default target

The default implementation of getSupportedSanitizers isn't able to turn
on the vptr sanitizer, and thus, any platform that runs this test will
fail with the error:

    clang: error: unsupported option '-fsanitize=vptr' for target '<target>'

Patch by James Nagurne!

llvm-svn: 365981
clang/test/Driver/fsanitize.c