RESOLVED FIXED295294
[WTF] Provide a type hint to debuggers for opaque bitfield values where supported
https://bugs.webkit.org/show_bug.cgi?id=295294
Summary [WTF] Provide a type hint to debuggers for opaque bitfield values where suppo...
Sam Weinig
Reported 2025-07-01 11:34:52 PDT
Newer versions of clang support an attribute called "preferred_type" which provides a hint to debuggers about what type is stored in opaqued bitfields: https://clang.llvm.org/docs/AttributeReference.html#preferred-type. We should add a macro for this and use it where useful.
Attachments
Sam Weinig
Comment 1 2025-07-01 12:00:49 PDT
EWS
Comment 2 2025-07-04 09:48:09 PDT
Committed 297027@main (99b626befab8): <https://commits.webkit.org/297027@main> Reviewed commits have been landed. Closing PR #47453 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2025-07-04 09:49:13 PDT
Note You need to log in before you can comment on or make changes to this bug.