[all-commits] [llvm/llvm-project] 8b066a: [ObjC] Don't place references to class stubs in __...
Akira Hatanaka via All-commits
all-commits at lists.llvm.org
Thu Oct 1 09:57:00 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8b066a46fcef066dc6d40794cdd79423eb31d311
https://github.com/llvm/llvm-project/commit/8b066a46fcef066dc6d40794cdd79423eb31d311
Author: Akira Hatanaka <ahatanak at gmail.com>
Date: 2026-10-01 (Thu, 01 Oct 2026)
Changed paths:
M clang/lib/CodeGen/CGObjCMac.cpp
M clang/test/CodeGenObjC/class-stubs.m
Log Message:
-----------
[ObjC] Don't place references to class stubs in __objc_superrefs (#227507)
Loading a reference to a class stub calls objc_loadClassref, which
updates the reference in place. The __objc_superrefs section is a
constant section, so a reference to a class stub cannot be placed there.
Emit such references without a section instead.
rdar://184656330
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list