[clang] [compiler-rt] [llvm] [ASan] Add metadata to renamed instructions so ASan doesn't use the i… (PR #119387)
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 30 16:32:28 PST 2025
================
@@ -137,6 +137,10 @@ llvm::AllocaInst *CodeGenFunction::CreateTempAlloca(llvm::Type *Ty,
Alloca =
new llvm::AllocaInst(Ty, CGM.getDataLayout().getAllocaAddrSpace(),
ArraySize, Name, AllocaInsertPt->getIterator());
+ if (Alloca->getName() != Name.str() &&
----------------
vitalybuka wrote:
`Alloca->getName() != Name.str()` is still here?
https://github.com/llvm/llvm-project/pull/119387
More information about the llvm-commits
mailing list