[PATCH] D21526: [codeview] Improved array type support (multi dimension array)

Amjad Aboud via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 28 06:51:27 PDT 2016


aaboud removed rL LLVM as the repository for this revision.
aaboud updated this revision to Diff 62084.
aaboud added a comment.

Fixed PR28311.
Now we take care of base element of the array, which is derived from other type (e.g. typedef).
These derived types might have no Size field, that is why we hit the assertion:
assert(UndefinedSubrange || ElementSize == (Ty->getSizeInBits() / 8));


http://reviews.llvm.org/D21526

Files:
  lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
  test/DebugInfo/COFF/types-array-advanced.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21526.62084.patch
Type: text/x-patch
Size: 13426 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160628/0e9e3ccf/attachment.bin>


More information about the llvm-commits mailing list