[all-commits] [llvm/llvm-project] e45b07: [DebugInfo] Fixing CodeView assert related to lowe...

Alok Kumar Sharma via All-commits all-commits at lists.llvm.org
Thu Sep 10 22:44:30 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e45b0708ae81ace27de53f12b32a80601cb12bf3
      https://github.com/llvm/llvm-project/commit/e45b0708ae81ace27de53f12b32a80601cb12bf3
  Author: Alok Kumar Sharma <AlokKumar.Sharma at amd.com>
  Date:   2020-09-11 (Fri, 11 Sep 2020)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp

  Log Message:
  -----------
  [DebugInfo] Fixing CodeView assert related to lowerBound field of DISubrange.

    This is to fix CodeView build failure https://bugs.llvm.org/show_bug.cgi?id=47287
    after DIsSubrange upgrade D80197

    Assert condition is now removed and Count is calculated in case LowerBound
    is absent or zero and Count or UpperBound is constant. If Count is unknown
    it is later handled as VLA (currently Count is set to zero).

Reviewed By: rnk

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




More information about the All-commits mailing list