This is an archive of the discontinued LLVM Phabricator instance.

[Coroutines] Support opaque pointers in solveTypeName()
ClosedPublic

Authored by nikic on Mar 9 2022, 4:06 AM.

Details

Summary

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.

Diff Detail

Event Timeline

nikic created this revision.Mar 9 2022, 4:06 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 9 2022, 4:06 AM
nikic requested review of this revision.Mar 9 2022, 4:06 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 9 2022, 4:06 AM
aeubanks accepted this revision.Mar 9 2022, 9:19 AM
This revision is now accepted and ready to land.Mar 9 2022, 9:19 AM
ChuanqiXu accepted this revision.Mar 9 2022, 6:09 PM

LGTM.

This revision was landed with ongoing or failed builds.Mar 10 2022, 12:34 AM
This revision was automatically updated to reflect the committed changes.