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

Matt Morehouse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 27 10:21:28 PDT 2019


morehouse accepted this revision.
morehouse added inline comments.
This revision is now accepted and ready to land.


================
Comment at: test/Instrumentation/AddressSanitizer/asan-detect-invalid-pointer-pair.ll:2
+; RUN: opt < %s -asan -asan-detect-invalid-pointer-cmp -S \
+; RUN:     | FileCheck %s -check-prefix=CMP -check-prefix=NOSUB
+; RUN: opt < %s -asan -asan-detect-invalid-pointer-sub -S \
----------------
morehouse wrote:
> I think we can do `--check-prefixes=CMP,NOSUB`.
Well now we can just do `--check-prefixes=CMP,NOSUB,ALL`


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

https://reviews.llvm.org/D59220





More information about the llvm-commits mailing list