[PATCH] D92412: [DebugInfo] Add handling of stringLengthExp operand of DIStringType

Chih-Ping Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 1 11:19:30 PST 2020


cchen15 created this revision.
cchen15 added reviewers: aprantl, SouraVX, alok.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
cchen15 requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: sstefan1, ormris.

This patch makes DWARF writer emit DW_AT_string_length using the stringLengthExp operand of DIStringType.

Also updated the tests to exercise the change.


https://reviews.llvm.org/D92412

Files:
  llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
  llvm/test/DebugInfo/X86/distringtype.ll
  llvm/test/DebugInfo/fortran-string-type.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92412.308716.patch
Type: text/x-patch
Size: 18540 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201201/d6d8f59f/attachment.bin>


More information about the llvm-commits mailing list