diff options
author | Erik Pilkington <erik.pilkington@gmail.com> | 2020-03-09 12:17:23 -0700 |
---|---|---|
committer | Erik Pilkington <erik.pilkington@gmail.com> | 2020-03-09 15:40:24 -0700 |
commit | 7fbf15a8f2df039cd47de7f2e98c4cd655d82e41 (patch) | |
tree | 6e2d95e33fd8f28296d19d6c50cb391f2a885cfe /clang/test/CodeGenObjC/non-lazy-classes.m | |
parent | 9d389f78589d71adf822c97c329baa62da70b34c (diff) | |
download | llvm-7fbf15a8f2df039cd47de7f2e98c4cd655d82e41.zip llvm-7fbf15a8f2df039cd47de7f2e98c4cd655d82e41.tar.gz llvm-7fbf15a8f2df039cd47de7f2e98c4cd655d82e41.tar.bz2 |
[CodeGenObjC] Privatize some ObjC metadata symbols
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
Differential revision: https://reviews.llvm.org/D75491
Diffstat (limited to 'clang/test/CodeGenObjC/non-lazy-classes.m')
-rw-r--r-- | clang/test/CodeGenObjC/non-lazy-classes.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGenObjC/non-lazy-classes.m b/clang/test/CodeGenObjC/non-lazy-classes.m index 03f7a2e..fc861f0 100644 --- a/clang/test/CodeGenObjC/non-lazy-classes.m +++ b/clang/test/CodeGenObjC/non-lazy-classes.m @@ -1,7 +1,7 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -Wno-objc-root-class -emit-llvm -o - %s | FileCheck %s -// CHECK: @"OBJC_LABEL_NONLAZY_CLASS_$" = internal global [3 x {{.*}}]{{.*}}@"OBJC_CLASS_$_A"{{.*}},{{.*}}@"OBJC_CLASS_$_D"{{.*}},{{.*}}"OBJC_CLASS_$_E"{{.*}} section "__DATA,__objc_nlclslist,regular,no_dead_strip", align 8 -// CHECK: @"OBJC_LABEL_NONLAZY_CATEGORY_$" = internal global [2 x {{.*}}] {{.*}}@"_OBJC_$_CATEGORY_A_$_Cat"{{.*}},{{.*}}@"_OBJC_$_CATEGORY_E_$_MyCat"{{.*}}, section "__DATA,__objc_nlcatlist,regular,no_dead_strip", align 8 +// CHECK: @"OBJC_LABEL_NONLAZY_CLASS_$" = private global [3 x {{.*}}]{{.*}}@"OBJC_CLASS_$_A"{{.*}},{{.*}}@"OBJC_CLASS_$_D"{{.*}},{{.*}}"OBJC_CLASS_$_E"{{.*}} section "__DATA,__objc_nlclslist,regular,no_dead_strip", align 8 +// CHECK: @"OBJC_LABEL_NONLAZY_CATEGORY_$" = private global [2 x {{.*}}] {{.*}}@"_OBJC_$_CATEGORY_A_$_Cat"{{.*}},{{.*}}@"_OBJC_$_CATEGORY_E_$_MyCat"{{.*}}, section "__DATA,__objc_nlcatlist,regular,no_dead_strip", align 8 @interface A @end @implementation A |