From: Amy Huang Date: Tue, 23 Apr 2019 21:12:58 +0000 (+0000) Subject: Revert "[MS] Emit S_HEAPALLOCSITE debug info" because of ToTWin64(db) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=54b79ea9a2abcf9f06506836f631ebc8ef616e70;p=clang Revert "[MS] Emit S_HEAPALLOCSITE debug info" because of ToTWin64(db) buildbot failure. This reverts commit d07d6d617713bececf57f3547434dd52f0f13f9e and c774f687b6880484a126ed3e3d737e74c926f0ae. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@359034 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGDebugInfo.cpp b/lib/CodeGen/CGDebugInfo.cpp index 2b7653a5a4..95ec4fa690 100644 --- a/lib/CodeGen/CGDebugInfo.cpp +++ b/lib/CodeGen/CGDebugInfo.cpp @@ -1969,6 +1969,7 @@ void CGDebugInfo::addHeapAllocSiteMetadata(llvm::Instruction *CI, QualType PointeeTy = D.getTypePtr()->getPointeeType(); node = getOrCreateType(PointeeTy, getOrCreateFile(Loc)); } + CI->setMetadata("heapallocsite", node); }