[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
Thu Mar 28 03:52:12 PDT 2019


pgousseau marked 2 inline comments as done.
pgousseau added inline comments.


================
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:
> morehouse wrote:
> > I think we can do `--check-prefixes=CMP,NOSUB`.
> Well now we can just do `--check-prefixes=CMP,NOSUB,ALL`
Done thanks!


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

https://reviews.llvm.org/D59220





More information about the llvm-commits mailing list