[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:28:41 PDT 2022
hctim accepted this revision.
hctim added inline comments.
This revision is now accepted and ready to land.
================
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
----------------
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
```
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