]> granicus.if.org Git - clang/commit
[ubsan] Enable -fsanitize=vptr on Apple devices and simulators
authorVedant Kumar <vsk@apple.com>
Tue, 28 Aug 2018 18:01:42 +0000 (18:01 +0000)
committerVedant Kumar <vsk@apple.com>
Tue, 28 Aug 2018 18:01:42 +0000 (18:01 +0000)
commit76b0fc13b49bfc60789573467260e0d126c3049d
tree7911152b5d6fd1c0dc0fc880131c4d73bcccd9ad
parent52da60728b90db0f39dc0dc21f5c7460ad2ec616
[ubsan] Enable -fsanitize=vptr on Apple devices and simulators

It seems like an oversight that this check was not always enabled for
on-device or device simulator targets.

Differential Revision: https://reviews.llvm.org/D51239

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