[MS] Emit S_HEAPALLOCSITE debug info
authorAmy Huang <akhuang@google.com>
Fri, 19 Apr 2019 21:09:11 +0000 (21:09 +0000)
committerAmy Huang <akhuang@google.com>
Fri, 19 Apr 2019 21:09:11 +0000 (21:09 +0000)
commitc774f687b6880484a126ed3e3d737e74c926f0ae
tree97e168eaf814536c4396b90c2abc6bcc0c5dbf0f
parentc8eb2d0354a14a9b69cf1816dcc4e3e291023da2
[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
clang/lib/CodeGen/CGDebugInfo.cpp
llvm/include/llvm/CodeGen/MachineFunction.h
llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
llvm/lib/CodeGen/MachineFunction.cpp
llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
llvm/test/CodeGen/X86/label-heapallocsite.ll [new file with mode: 0644]