[llvm] r310262 - [DebugInfo][DWARF] Correct some usages of PRIx32 to PRIx64

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 7 13:15:04 PDT 2017


On Mon, Aug 7, 2017 at 12:20 PM Robinson, Paul <paul.robinson at sony.com>
wrote:

> Since we don't do DWARF64, and so should not have real 64-bit offsets, my
> bet is that it's endian-related.
>

LLVM doesn't produce DWARF64, but there's some support for dumping it - &
for now the dumper's tested by checked in object files or sometimes checked
in asm that's assembled by llvm-mc first.

So one could hand-craft (or retrieve from another compiler that does
produce DWARF64) some DWARF64 object file/assembly and test with that,
maybe?

- Dave


> --paulr
>
>
>
> *From:* llvm-commits [mailto:llvm-commits-bounces at lists.llvm.org] *On
> Behalf Of *David Blaikie via llvm-commits
> *Sent:* Monday, August 07, 2017 2:57 PM
>
>
> *To:* Simon Dardis; llvm-commits at lists.llvm.org
> *Subject:* Re: [llvm] r310262 - [DebugInfo][DWARF] Correct some usages of
> PRIx32 to PRIx64
>
>
>
> Was it only failing on MIPS? Is it possible to test it more portably?
>
>
>
> On Mon, Aug 7, 2017 at 11:51 AM Simon Dardis <Simon.Dardis at imgtec.com>
> wrote:
>
>
> From: David Blaikie [dblaikie at gmail.com]
> Sent: 07 August 2017 19:34
> To: Simon Dardis; llvm-commits at lists.llvm.org
> Subject: Re: [llvm] r310262 - [DebugInfo][DWARF] Correct some usages of
> PRIx32 to PRIx64
>
> > Test case?
>
> This is already covered by:
>  LLVM-Unit::DWARFDebugInfo.TestDwarfVerifyInvalidCURef
>  LLVM-Unit::DWARFDebugInfo.TestDwarfVerifyInvalidStmtList
>
> Which have been failing for some time on clang-cmake-mips(el):
>
> http://lab.llvm.org:8011/builders/clang-cmake-mips/builds/4913
>
> build 4914 when it's finished, should show those tests passing.
>
> Thanks,
> SImon
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170807/f6ecf7dc/attachment-0001.html>


More information about the llvm-commits mailing list