Details
Details
- Reviewers
eugenis - Commits
- rG8de457eafc08: [HWASAN] use common alignAndPadAlloca
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
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.
llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp | ||
---|---|---|
1382 | Why don't we do the same in AArch64StackTagging? |
Comment Actions
I've looked into this. I think it makes sense to allow replacing multiple
llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp | ||
---|---|---|
1382 | I am looking into that separately. I also reverted this code to the one we had in HWASan, so we don't do too many changes in one go. |
Why don't we do the same in AArch64StackTagging?