[PATCH] D129448: [CodeGen][Asan] Emit lifetime intrinsic for bypassed label

Vitaly Buka via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 11 10:51:59 PDT 2022


vitalybuka added inline comments.


================
Comment at: clang/test/CodeGen/lifetime2.c:78
     break;
   case 2:
     bar(&x, 1);
----------------
vitalybuka wrote:
> Please check for lifetime markers, I assume case 2 will have a new one
> Please check for lifetime markers, I assume case 2 will have a new one
Please check for *all* lifetime markers

you can add use "FileCheck --implicit-check-not llvm.lifetime" so it will fail if something has no corresponding match



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D129448



More information about the cfe-commits mailing list