[PATCH] D67563: Debug Info: Add support for named constants

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 13 16:06:55 PDT 2019


aprantl updated this revision to Diff 220190.
aprantl added a reviewer: jingham.
aprantl added a comment.

Okay. Here is an alternative patch that implements a flag DW_AT_LLVM_constant. "The Swift Programming Language" calls let-bindings "constants" and constant seems to be a generic enough term to be generally useful.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67563/new/

https://reviews.llvm.org/D67563

Files:
  llvm/docs/LangRef.rst
  llvm/include/llvm/BinaryFormat/Dwarf.def
  llvm/include/llvm/IR/DebugInfoFlags.def
  llvm/include/llvm/IR/DebugInfoMetadata.h
  llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
  llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
  llvm/test/DebugInfo/Generic/constants.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67563.220190.patch
Type: text/x-patch
Size: 5609 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190913/8fd44eaf/attachment.bin>


More information about the llvm-commits mailing list