[PATCH] D119614: [HWASAN] use common alignAndPadAlloca

Florian Mayer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 11 19:30:25 PST 2022


fmayer added a reviewer: eugenis.
fmayer added a comment.

I am also looking whether this code in Aarch64StackTagging needs changing or whether there are different constraints (because HWASAN does more changes to debug intrinsics)

  // Fixup debug intrinsics to point to the new alloca.
  for (auto DVI : Info.DbgVariableIntrinsics)
    DVI->replaceVariableLocationOp(Info.OldAI, Info.AI)

If we only use this code for HWASAN, IR regression tests (alloca.ll and dbg-value-tag-offset.ll) fail.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119614



More information about the llvm-commits mailing list