[all-commits] [llvm/llvm-project] 1f6724: [DebugInfo] Add handling of stringLengthExp operan...

cchen15 via All-commits all-commits at lists.llvm.org
Tue Dec 8 11:55:40 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1f67247eea13f62f26de3b0eca3755ed8b3a2b8e
      https://github.com/llvm/llvm-project/commit/1f67247eea13f62f26de3b0eca3755ed8b3a2b8e
  Author: Chih-Ping Chen <chih-ping.chen at intel.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

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

  Log Message:
  -----------
  [DebugInfo] Add handling of stringLengthExp operand of DIStringType.

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

This is part of the effort to add debug info support for
Fortran deferred length strings.

Also updated the tests to exercise the change.

Differential Revision: https://reviews.llvm.org/D92412




More information about the All-commits mailing list