================ @@ -5378,6 +5379,10 @@ class CodeGenFunction : public CodeGenTypeCache { /// Set the address of a local variable. void setAddrOfLocalVar(const VarDecl *VD, Address Addr) { + if (LocalDeclMap.count(VD)) { + llvm::errs() << "Warning: VarDecl already exists in map: "; + VD->dumpColor(); + } ---------------- alexey-bataev wrote:
Remove https://github.com/llvm/llvm-project/pull/139293 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits