[PATCH] D46032: [MIR] Add support for debug metadata for fixed stack objects

Francis Visoiu Mistrih via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 24 15:56:34 PDT 2018


thegameg created this revision.
thegameg added reviewers: MatzeB, qcolombet, vsk, aprantl, JDevlieghere, plotfi.
Herald added a subscriber: jkorous.

Debug var, expr and loc were only supported for non-fixed stack objects.

This patch adds the following fields to the "fixedStack:" entries:

- di-variable
- di-expression
- di-location


https://reviews.llvm.org/D46032

Files:
  include/llvm/CodeGen/MIRYamlMapping.h
  include/llvm/CodeGen/MachineFunction.h
  lib/CodeGen/MIRParser/MIRParser.cpp
  lib/CodeGen/MIRPrinter.cpp
  test/CodeGen/MIR/X86/callee-saved-info.mir
  test/CodeGen/MIR/X86/fixed-stack-di.mir
  test/CodeGen/MIR/X86/spill-slot-fixed-stack-objects.mir
  test/CodeGen/X86/fixed-stack-di-mir.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46032.143826.patch
Type: text/x-patch
Size: 10550 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180424/017c35a4/attachment.bin>


More information about the llvm-commits mailing list