[PATCH] D121395: [HWASan] add shortgranule tests to use-after-scope.
Mitch Phillips via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 16 10:29:23 PDT 2022
hctim added inline comments.
================
Comment at: llvm/test/Instrumentation/HWAddressSanitizer/use-after-scope.ll:5
+; RUN: opt -passes=hwasan -hwasan-use-short-granules=1 -hwasan-generate-tags-with-calls -hwasan-use-after-scope=1 -S < %s | FileCheck %s --check-prefixes=SCOPE-SHORT
+; RUN: opt -passes=hwasan -hwasan-use-short-granules=1 -hwasan-generate-tags-with-calls -hwasan-use-after-scope=0 -S < %s | FileCheck %s --check-prefixes=NOSCOPE-SHORT
----------------
hctim wrote:
> nit:
>
> ```
> ; RUN: opt -passes=hwasan -hwasan-use-short-granules=1 -hwasan-generate-tags-with-calls \
> ; RUN: -hwasan-use-after-scope=1 -S < %s | FileCheck %s --check-prefixes=SCOPE-SHORT
>
> ```
(looks like this was still on draft but you did it preemptively)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D121395/new/
https://reviews.llvm.org/D121395
More information about the llvm-commits
mailing list