llvm-pretty icon indicating copy to clipboard operation
llvm-pretty copied to clipboard

DIDerivedType metadata invalid dwarfAddressSpace specification

Open kquick opened this issue 2 years ago • 0 comments

Creating a structure definition and then emitting it via pretty-printing causes llvm-as to fail on the result with errors like:

DWARF address space only applies to pointer or reference types !15 = !DIDerivedType(tag: DW_TAG_member, name: "msglen", file: !1, line: 1, baseType: !11, size: 32, dwarfAddressSpace: 0)

kquick avatar Aug 09 '23 23:08 kquick