[PATCH] D75491: [CodeGenObjC] Privatize some ObjC metadata symbols

Erik Pilkington via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 2 16:38:31 PST 2020


erik.pilkington created this revision.
erik.pilkington added reviewers: rjmccall, ahatanak, vsk.
Herald added subscribers: ributzka, dexonsmith, jkorous.

Nobody needs these symbols, so there isn't any benefit in including them. This saves some code-size in Objective-C binaries.

Partially reverts: https://reviews.llvm.org/D61454

rdar://56579760


https://reviews.llvm.org/D75491

Files:
  clang/lib/CodeGen/CGObjCMac.cpp
  clang/test/CodeGenObjC/class-stubs.m
  clang/test/CodeGenObjC/exceptions-asm-attribute.m
  clang/test/CodeGenObjC/metadata-symbols-64.m
  clang/test/CodeGenObjC/metadata_symbols.m
  clang/test/CodeGenObjC/non-lazy-classes.m
  clang/test/CodeGenObjC/sections.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75491.247754.patch
Type: text/x-patch
Size: 13047 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200303/65fc8b02/attachment-0001.bin>


More information about the cfe-commits mailing list