diff options
author | Amy Huang <akhuang@google.com> | 2019-04-19 21:09:11 +0000 |
---|---|---|
committer | Amy Huang <akhuang@google.com> | 2019-04-19 21:09:11 +0000 |
commit | c774f687b6880484a126ed3e3d737e74c926f0ae (patch) | |
tree | 97e168eaf814536c4396b90c2abc6bcc0c5dbf0f /clang/lib/CodeGen | |
parent | c8eb2d0354a14a9b69cf1816dcc4e3e291023da2 (diff) | |
download | bcm5719-llvm-c774f687b6880484a126ed3e3d737e74c926f0ae.tar.gz bcm5719-llvm-c774f687b6880484a126ed3e3d737e74c926f0ae.zip |
[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
llvm-svn: 358783
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r-- | clang/lib/CodeGen/CGDebugInfo.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp index 95ec4fa690c..2b7653a5a4d 100644 --- a/clang/lib/CodeGen/CGDebugInfo.cpp +++ b/clang/lib/CodeGen/CGDebugInfo.cpp @@ -1969,7 +1969,6 @@ void CGDebugInfo::addHeapAllocSiteMetadata(llvm::Instruction *CI, QualType PointeeTy = D.getTypePtr()->getPointeeType(); node = getOrCreateType(PointeeTy, getOrCreateFile(Loc)); } - CI->setMetadata("heapallocsite", node); } |