Bug 295294
| Summary: | [WTF] Provide a type hint to debuggers for opaque bitfield values where supported | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Sam Weinig <sam> |
| Component: | Web Template Framework | Assignee: | Sam Weinig <sam> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 18 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Sam Weinig
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
Pull request: https://github.com/WebKit/WebKit/pull/47453
EWS
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
<rdar://problem/155050894>