[PATCH] D54589: [clang][UBSan] Sanitization for alignment assumptions.

Roman Lebedev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 16 14:31:02 PST 2018


lebedev.ri updated this revision to Diff 174451.
lebedev.ri added a comment.

Adapt to https://reviews.llvm.org/D54588 no longer providing the actual pointer.
The handled itself will have to deal with subtracting the offset.


Repository:
  rC Clang

https://reviews.llvm.org/D54589

Files:
  docs/ReleaseNotes.rst
  docs/UndefinedBehaviorSanitizer.rst
  lib/CodeGen/CGBuiltin.cpp
  lib/CodeGen/CGCall.cpp
  lib/CodeGen/CGExprScalar.cpp
  lib/CodeGen/CGStmtOpenMP.cpp
  lib/CodeGen/CodeGenFunction.cpp
  lib/CodeGen/CodeGenFunction.h
  test/CodeGen/catch-alignment-assumption-attribute-align_value-on-lvalue.cpp
  test/CodeGen/catch-alignment-assumption-attribute-align_value-on-paramvar.cpp
  test/CodeGen/catch-alignment-assumption-attribute-alloc_align-on-function-variable.cpp
  test/CodeGen/catch-alignment-assumption-attribute-alloc_align-on-function.cpp
  test/CodeGen/catch-alignment-assumption-attribute-assume_aligned-on-function-two-params.cpp
  test/CodeGen/catch-alignment-assumption-attribute-assume_aligned-on-function.cpp
  test/CodeGen/catch-alignment-assumption-blacklist.c
  test/CodeGen/catch-alignment-assumption-builtin_assume_aligned-three-params-variable.cpp
  test/CodeGen/catch-alignment-assumption-builtin_assume_aligned-three-params.cpp
  test/CodeGen/catch-alignment-assumption-builtin_assume_aligned-two-params.cpp
  test/CodeGen/catch-alignment-assumption-openmp.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54589.174451.patch
Type: text/x-patch
Size: 53703 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181116/899d4586/attachment-0001.bin>


More information about the cfe-commits mailing list