[PATCH] D65023: [MS] Pass S_HEAPALLOCSITE metadata through SelectionDAG

Amy Huang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 19 14:55:22 PDT 2019


akhuang created this revision.
akhuang added a reviewer: rnk.
Herald added subscribers: llvm-commits, hiraditya, aprantl, MatzeB.
Herald added a project: LLVM.

This emits CodeView debug info for heapallocsite by emitting labels around
the call instructions. The metadata is passed through by attaching an
MDNodeSDNode as an operand to the call instruction node.
https://reviews.llvm.org/D60800 is a previous change to emit the metadata
when FastISel is used.

Related to bug https://bugs.llvm.org/show_bug.cgi?id=38491


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D65023

Files:
  llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
  llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
  llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/test/CodeGen/X86/label-heapallocsite.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65023.210912.patch
Type: text/x-patch
Size: 15977 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190719/6f064aa4/attachment.bin>


More information about the llvm-commits mailing list