[llvm-bugs] [Bug 32687] SROA appears to produce broken debug metadata

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Apr 24 14:52:19 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=32687

Adrian Prantl <aprantl at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Adrian Prantl <aprantl at apple.com> ---
%z0011 = type <{ i32, [4 x i8], [0 x [0 x float]]*, i64, [24 x i32] }>
sizeof(z0011) = 120 bytes

!45 = !DIExpression(DW_OP_LLVM_fragment, 224, 736)
Ofs=28, Size=96 -> This implies that sizeof(variable) >= 120 bytes

!8 = !DICompositeType(tag: DW_TAG_array_type, baseType: !9, size: 128, align:
32, elements: !10)
!9 = !DIBasicType(name: "z00000044", size: 32, align: 32, encoding:
DW_ATE_signed)

But the size of the array is declared as 128 *bits*.
The PGI F90 frontend produced inconsistent debug information here.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170424/93f3762b/attachment.html>


More information about the llvm-bugs mailing list