Bug 300717

Summary: [webkitapipy] Add allowlist escape hatch for declarations that may be dead-stripped
Product: WebKit Reporter: Elliott Williams <emw>
Component: Tools / TestsAssignee: Elliott Williams <emw>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Elliott Williams
Reported 2025-10-14 11:19:24 PDT
Some SPI usage (such as dyld_program_sdk_at_least in RuntimeApplicationChecksCocoa.mm) may be stripped out by the linker depending on some relatively complex program analysis relating to underlying OS headers. There isn't a good `requires` clause that we could write to only activate the allowlist entry when it is needed.
Attachments
Elliott Williams
Comment 1 2025-10-14 11:19:36 PDT
Elliott Williams
Comment 2 2025-10-14 11:24:38 PDT
EWS
Comment 3 2025-10-14 15:45:13 PDT
Committed 301508@main (85036d0b7338): <https://commits.webkit.org/301508@main> Reviewed commits have been landed. Closing PR #52312 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.