[PATCH] D59220: [asan] Add options -asan-detect-invalid-pointer-cmp and -asan-detect-invalid-pointer-sub options.

pierre gousseau via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 11 10:10:00 PDT 2019


pgousseau created this revision.
pgousseau added reviewers: rsmith, filcab, kcc, riccibruno, wristow, probinson.
Herald added subscribers: llvm-commits, jdoerfert.
Herald added a project: LLVM.

This is in preparation to a driver patch to add gcc 8's -fsanitize=pointer-compare and -fsanitize=pointer-subtract.
Disabled by default as this is still an experimental feature.


Repository:
  rL LLVM

https://reviews.llvm.org/D59220

Files:
  include/llvm/Transforms/Instrumentation/AddressSanitizer.h
  lib/Transforms/Instrumentation/AddressSanitizer.cpp
  test/Instrumentation/AddressSanitizer/asan-detect-invalid-pointer-pair.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59220.190117.patch
Type: text/x-patch
Size: 10267 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190311/fa55c445/attachment.bin>


More information about the llvm-commits mailing list