r358783 - [MS] Emit S_HEAPALLOCSITE debug info
Amy Huang via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 19 14:09:12 PDT 2019
Author: akhuang
Date: Fri Apr 19 14:09:11 2019
New Revision: 358783
URL: http://llvm.org/viewvc/llvm-project?rev=358783&view=rev
Log:
[MS] Emit S_HEAPALLOCSITE debug info
Summary:
This emits labels around heapallocsite calls and S_HEAPALLOCSITE debug
info in codeview. Currently only changes FastISel, so emitting labels still
needs to be implemented in SelectionDAG.
Reviewers: hans, rnk
Subscribers: aprantl, hiraditya, cfe-commits, llvm-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D60800
Modified:
cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
Modified: cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGDebugInfo.cpp?rev=358783&r1=358782&r2=358783&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGDebugInfo.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGDebugInfo.cpp Fri Apr 19 14:09:11 2019
@@ -1969,7 +1969,6 @@ void CGDebugInfo::addHeapAllocSiteMetada
QualType PointeeTy = D.getTypePtr()->getPointeeType();
node = getOrCreateType(PointeeTy, getOrCreateFile(Loc));
}
-
CI->setMetadata("heapallocsite", node);
}
More information about the cfe-commits
mailing list