[PATCH] Bundle conditions checked by UBSan with sanitizer kinds they implement.

Alexey Samsonov vonosmas at gmail.com
Tue Nov 11 13:00:05 PST 2014


Hi rsmith,

This change makes CodeGenFunction::EmitCheck() take several
conditions that needs to be checked (all of them need to be true),
together with sanitizer kinds these checks are for. This would allow
to split one call into UBSan runtime into several calls in case
different sanitizer kinds would have different recoverability
settings.

Tests should be fixed accordingly, I'm working on it.

http://reviews.llvm.org/D6219

Files:
  lib/CodeGen/CGBuiltin.cpp
  lib/CodeGen/CGCall.cpp
  lib/CodeGen/CGExpr.cpp
  lib/CodeGen/CGExprScalar.cpp
  lib/CodeGen/CodeGenFunction.cpp
  lib/CodeGen/CodeGenFunction.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6219.16058.patch
Type: text/x-patch
Size: 17010 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141111/0059ec91/attachment.bin>


More information about the cfe-commits mailing list