[Coroutines] Support opaque pointers in solveTypeName()
authorNikita Popov <npopov@redhat.com>
Fri, 4 Mar 2022 12:25:05 +0000 (13:25 +0100)
committerNikita Popov <npopov@redhat.com>
Thu, 10 Mar 2022 08:33:55 +0000 (09:33 +0100)
commit479d684ba53e70fe39d002482a00ae007a3d64cd
tree998f8832f07b5505b09f4a6be3c2e30db74dd7e3
parent0803dba7dd998ad073d75a32b65296734c10ae70
[Coroutines] Support opaque pointers in solveTypeName()

As far as I can tell, these names are only intended to be
informative, so just use a generic "PointerType" for opaque pointers.

The code in solveDIType() also treats pointers as basic types (and
does not try to encode the pointed-to type further), so I believe
this should be fine.

Differential Revision: https://reviews.llvm.org/D121280
llvm/lib/Transforms/Coroutines/CoroFrame.cpp