[PATCH] D90916: [DebugInfo] Emit locations for large constant integers

Pavel Labath via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 6 02:04:39 PST 2020


labath created this revision.
labath added reviewers: dblaikie, aprantl, probinson, SouraVX.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.
labath requested review of this revision.

This adds support for emissing of integers larger than 8 bytes (e.g
__int128_t). It reuses/extends the existing code for emitting floating
point constant, using DW_OP_implicit_value (if debugger tuning permits
it), or glueing the value together using DW_OP_const and DW_OP_piece.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D90916

Files:
  llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp
  llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h
  llvm/test/DebugInfo/X86/implicit_value-int128_t.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90916.303377.patch
Type: text/x-patch
Size: 7439 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201106/b2bbcafa/attachment.bin>


More information about the llvm-commits mailing list