[PATCH] D51239: [ubsan] Enable -fsanitize=vptr on Apple devices and simulators

Dan Liew via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 28 10:13:52 PDT 2018


delcypher accepted this revision.
delcypher added a comment.
This revision is now accepted and ready to land.

LGTM.



================
Comment at: clang/test/Driver/fsanitize.c:426
 
+// RUN: %clang -target arm-apple-ios4 -fsanitize=vptr %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-VPTR-IOS-OLD
+// CHECK-VPTR-IOS-OLD: unsupported option '-fsanitize=vptr' for target 'arm-apple-ios4'
----------------
@vsk Interesting. This that what the iOS 4 target triple looked like.


https://reviews.llvm.org/D51239





More information about the cfe-commits mailing list