Landing: 9d72b82d10d9
Project / Subsystem
gcc / darwin
Date
2026-07-13
Author
Iain Sandoe
Commit
9d72b82d10d9a046b70798a8f6381123cd60ff6a
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- darwin
- patch_id
- —
- commit_hash
- 9d72b82d10d9a046b70798a8f6381123cd60ff6a
- source_type
- github
- headline
- Darwin Objective-C/C++: Globalize protocol reference metadata symbols.
- tldr
- Globalizes protocol reference metadata symbols for newer Darwin static linkers.
- author
- Iain Sandoe
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • darwin
- • objective-c
- • linker
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-13T00:00:00.000Z
Newer versions of the Darwin static linker require global symbols for protocol reference lists. This change ensures that these symbols are globalized, preventing linker errors. The darwin_globalize_label and darwin_label_is_anonymous_local_objc_name functions in config/darwin.cc are updated to handle protocol references.