[WebAssembly] Fix incorrect DW_TAG_pointer_type size in test
authorAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>
Wed, 31 Mar 2021 08:15:22 +0000 (09:15 +0100)
committerAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>
Wed, 31 Mar 2021 08:17:45 +0000 (09:17 +0100)
commit8fa570c96908a459d3b067a815b7c307f4555556
tree9f7ac278d731524c77f87aee33a21b72fe672e2b
parent43b9fa3ce0ddfa673158af1596c3aac613b258b3
[WebAssembly] Fix incorrect DW_TAG_pointer_type size in test

It should be 64 bits not 32 for wasm64-unknown-unknown. I noticed this
because this test was failing in our CHERI fork of LLVM due to a larger
.debug_abbrev section size. It turns out this happens because we add
DW_AT_byte_size for non-default pointer sizes to allow debugging our
hybrid compilation mode where we can have two different kinds of pointers.

Reviewed By: aardappel

Differential Revision: https://reviews.llvm.org/D99410
llvm/test/MC/WebAssembly/debug-info64.ll