[PATCH] D120437: [HWASAN] erase lifetime intrinsics if tag is outside.

Florian Mayer via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 1 10:42:28 PST 2022


fmayer added inline comments.


================
Comment at: clang/test/CodeGen/lifetime-sanitizer.c:9
+// RUN: %clang -target aarch64-linux-gnu -S -emit-llvm -o /dev/null -O0 \
+// RUN:     -fsanitize=hwaddress -mllvm -print-before=hwasan %s 2>&1 | \
 // RUN:     FileCheck %s -check-prefix=LIFETIME
----------------
eugenis wrote:
> You can use -Xclang -disable-llvm-passes instead.
Isn't what is currently there closer to what we actually want to test: that the hwasan pass has access to lifetimes?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D120437



More information about the cfe-commits mailing list