[PATCH] D41697: [DebugInfo][Metadata] Add support for a DIExpression as 'count' field of DISubrange.

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 3 03:03:43 PST 2018


sdesmalen created this revision.
sdesmalen added reviewers: echristo, pcc, aprantl, dexonsmith, clayborg, kristof.beyls.
Herald added subscribers: JDevlieghere, rengolin, aemerson.

This is patch [3/3] in a series to extend LLVM's DISubrange Metadata
node to support debugging of C99 variable length arrays and vectors with
runtime length like the Scalable Vector Extension for AArch64. It is
also a first step towards representing more complex cases like arrays
in Fortran.


https://reviews.llvm.org/D41697

Files:
  docs/LangRef.rst
  include/llvm/IR/DebugInfoMetadata.h
  lib/CodeGen/AsmPrinter/DwarfUnit.cpp
  lib/IR/AsmWriter.cpp
  lib/IR/Verifier.cpp
  test/Assembler/debug-info.ll
  test/Bitcode/disubrange.ll
  test/DebugInfo/Generic/disubrange.ll
  test/Verifier/invalid-disubrange-count-node.ll
  unittests/IR/MetadataTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41697.128507.patch
Type: text/x-patch
Size: 10481 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180103/c9a31b67/attachment.bin>


More information about the llvm-commits mailing list