Landing: b257b8f4524d

Project / Subsystem

gcc / darwin

Date

2026-09-27

Author

Iain Sandoe

Commit

b257b8f4524d8e61040c6d988ebf3e68d784c1a7

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
darwin
patch_id
—
commit_hash
b257b8f4524d8e61040c6d988ebf3e68d784c1a7
source_type
github
headline
Darwin linker improves robustness in select_section.
tldr
Darwin's linker `select_section` handles NULL_TREE types gracefully.
author
Iain Sandoe
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • darwin
  • • linker
  • • robustness
discussion_id_link
—
bugzilla_pr
—
date
2026-09-27T00:00:00.000Z

The Darwin Mach-O PIC (Position Independent Code) section selection logic has been made more robust. It now gracefully handles cases where a NULL_TREE might be passed as a type name, preventing potential crashes or errors when inspecting Objective-C or CoreFoundation strings.