WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
295294
[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
Add attachment
proposed patch, testcase, etc.
Sam Weinig
Comment 1
2025-07-01 12:00:49 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/47453
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
<
rdar://problem/155050894
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug