Recommitting r358783 and r358786 "[MS] Emit S_HEAPALLOCSITE debug info" with fixes...
authorAmy Huang <akhuang@google.com>
Wed, 24 Apr 2019 23:02:48 +0000 (23:02 +0000)
committerAmy Huang <akhuang@google.com>
Wed, 24 Apr 2019 23:02:48 +0000 (23:02 +0000)
commit68c91994931c29dfc7a09e7d5a5e4515d13b12bd
tree103440faf57f4dca0def448c3533af2066b2e644
parent105c565e9120c4ae11ec93912c883ec100034746
Recommitting r358783 and r358786 "[MS] Emit S_HEAPALLOCSITE debug info" with fixes for buildbot error (undefined assembler label).

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: rnk

Subscribers: aprantl, hiraditya, cfe-commits, llvm-commits

Tags: #clang, #llvm

Differential Revision: https://reviews.llvm.org/D61083

llvm-svn: 359149
llvm/include/llvm/CodeGen/MachineFunction.h
llvm/include/llvm/CodeGen/MachineInstr.h
llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
llvm/lib/CodeGen/MachineFunction.cpp
llvm/lib/CodeGen/MachineInstr.cpp
llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
llvm/lib/Target/X86/X86FastISel.cpp
llvm/test/CodeGen/X86/label-heapallocsite.ll [new file with mode: 0644]