[clang] [compiler-rt] [llvm] [ASan] Add metadata to renamed instructions so ASan doesn't use the i… (PR #119387)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 20 05:42:59 PST 2025


================
@@ -134,6 +134,12 @@ llvm::AllocaInst *CodeGenFunction::CreateTempAlloca(llvm::Type *Ty,
     Alloca =
         new llvm::AllocaInst(Ty, CGM.getDataLayout().getAllocaAddrSpace(),
                              ArraySize, Name, AllocaInsertPt->getIterator());
+  llvm::errs() << "Alloca name '" << Alloca->getName() << "'\n";
+  llvm::errs() << "NAME str '" << Name.str() << "'\n";
----------------
fhahn wrote:

left over dbg ?

https://github.com/llvm/llvm-project/pull/119387


More information about the llvm-commits mailing list