]> granicus.if.org Git - clang/commit
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)
commitdd578bb497322855a0116d2ed3b6ccff7f8ad7db
tree5e0667f0030e68c0957d9936376ba02870068a7b
parent8539d2e03395b0484b4eee712f34b60cc7449fde
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!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@365981 91177308-0d34-0410-b5e6-96231b3b80d8
test/Driver/fsanitize.c