[PATCH] D71491: [ubsan] Check implicit casts in ObjC for-in statements
Dan Liew via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 13 22:03:45 PST 2019
delcypher added inline comments.
================
Comment at: clang/lib/Driver/ToolChain.cpp:953
+ SanitizerKind::ImplicitConversion | SanitizerKind::Nullability |
+ SanitizerKind::LocalBounds | SanitizerKind::ObjCCast;
if (getTriple().getArch() == llvm::Triple::x86 ||
----------------
`SanitizerKind::ObjCCast` doesn't seem to fit the comment above. It is platform dependent (only really works for Apple platforms) and it **does** require runtime support (i.e. the Objective-C runtime).
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71491/new/
https://reviews.llvm.org/D71491
More information about the cfe-commits
mailing list