[PATCH] D81346: [KernelAddressSanitizer] Ensure global array size remains multiple of type-size

Marco Elver via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jun 7 15:27:18 PDT 2020


melver updated this revision to Diff 269078.
melver added a comment.

Add 0-size array to test to check redzone calculation does not divide by 0.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D81346/new/

https://reviews.llvm.org/D81346

Files:
  clang/test/CodeGen/asan-globals.cpp
  llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81346.269078.patch
Type: text/x-patch
Size: 9252 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200607/6c39ecb5/attachment-0001.bin>


More information about the cfe-commits mailing list