[all-commits] [llvm/llvm-project] 29d700: [DebugInfo] Fixing CodeView assert related to lowe...
Alok Kumar Sharma via All-commits
all-commits at lists.llvm.org
Fri Sep 11 02:46:03 PDT 2020
Branch: refs/heads/release/11.x
Home: https://github.com/llvm/llvm-project
Commit: 29d700a8132088ee6320702b601c0479a710a3ec
https://github.com/llvm/llvm-project/commit/29d700a8132088ee6320702b601c0479a710a3ec
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
(cherry picked from commit e45b0708ae81ace27de53f12b32a80601cb12bf3)
More information about the All-commits
mailing list