]> granicus.if.org Git - clang/commit
[CodeGen][ObjC] Remove the leading 'l' from symbols for protocol
authorAkira Hatanaka <ahatanaka@apple.com>
Thu, 14 Mar 2019 15:17:37 +0000 (15:17 +0000)
committerAkira Hatanaka <ahatanaka@apple.com>
Thu, 14 Mar 2019 15:17:37 +0000 (15:17 +0000)
commita751cfc2dbf32743510ec2ad3e2829eef386b095
treed5e354d1ea082f09436771d379ebb513dd83e356
parentee48ebcab78d8c6332dfe00a85580bd52b36592e
[CodeGen][ObjC] Remove the leading 'l' from symbols for protocol
metadata and protocol list

The leading 'l' tells ld64 to remove the symbol name, which can make
debugging difficult.

rdar://problem/47256637

Differential Revision: https://reviews.llvm.org/D59234

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@356156 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGObjCMac.cpp
test/CodeGenObjC/forward-protocol-metadata-symbols.m
test/CodeGenObjC/hidden-visibility.m
test/CodeGenObjC/metadata-class-properties.m
test/CodeGenObjC/metadata-symbols-64.m
test/CodeGenObjC/protocol-comdat.m
test/CodeGenObjC/protocol-in-extended-class.m
test/CodeGenObjC/protocols.m
test/CodeGenObjC/sections.m
test/CodeGenObjC/undefined-protocol2.m