[PATCH] D52634: [WIP] [WebAssembly] Add DBG_VALUE with local operands location in WebAssemblyExplicitLocals pass

Yury Delendik via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 27 14:48:48 PDT 2018


yurydelendik created this revision.
Herald added subscribers: llvm-commits, JDevlieghere, aheejin, jgravelle-google, sbc100, aprantl.

Extends DWARF expression larguage to express locals/globals locations. (via
target-index operands atm) (possible variants are: non-virtual registers
or address spaces)

The WebAssemblyExplicitLocals can replace virtual registers to targer-index operand type at the time when WebAssembly backend introduces {get,set,tee}_local instead of
corresponding virtual registers.


Repository:
  rL LLVM

https://reviews.llvm.org/D52634

Files:
  include/llvm/BinaryFormat/Dwarf.def
  include/llvm/BinaryFormat/Dwarf.h
  lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  lib/CodeGen/AsmPrinter/DebugLocEntry.h
  lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  lib/CodeGen/AsmPrinter/DwarfExpression.cpp
  lib/CodeGen/AsmPrinter/DwarfExpression.h
  lib/DebugInfo/DWARF/DWARFExpression.cpp
  lib/Target/WebAssembly/WebAssembly.h
  lib/Target/WebAssembly/WebAssemblyExplicitLocals.cpp
  lib/Target/WebAssembly/WebAssemblyInstrInfo.cpp
  lib/Target/WebAssembly/WebAssemblyInstrInfo.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52634.167403.patch
Type: text/x-patch
Size: 13054 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180927/9698c8da/attachment.bin>


More information about the llvm-commits mailing list