summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenObjC/protocol-comdat.m
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@apple.com>2019-05-09 17:43:52 +0000
committerAkira Hatanaka <ahatanaka@apple.com>2019-05-09 17:43:52 +0000
commit187770dc749856ba44894e08ba806e3e4badc0f4 (patch)
tree35501a69ceecbf1b6f916f9a751c66e4d81110cc /clang/test/CodeGenObjC/protocol-comdat.m
parent4bf8632c45f965ce51f324eec6ab8ede52285581 (diff)
downloadbcm5719-llvm-187770dc749856ba44894e08ba806e3e4badc0f4.tar.gz
bcm5719-llvm-187770dc749856ba44894e08ba806e3e4badc0f4.zip
[CodeGen][ObjC] Remove the leading `l_` from ObjC symbols and make
private symbols in the __DATA segment internal. This prevents the linker from removing the symbol names. Keeping the symbols visible enables tools to collect various information about the symbols, for example, tools that discover whether or not a symbol gets dirtied. rdar://problem/48887111 Differential Revision: https://reviews.llvm.org/D61454 llvm-svn: 360359
Diffstat (limited to 'clang/test/CodeGenObjC/protocol-comdat.m')
-rw-r--r--clang/test/CodeGenObjC/protocol-comdat.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGenObjC/protocol-comdat.m b/clang/test/CodeGenObjC/protocol-comdat.m
index 84d620e9714..1402ad0a045 100644
--- a/clang/test/CodeGenObjC/protocol-comdat.m
+++ b/clang/test/CodeGenObjC/protocol-comdat.m
@@ -20,8 +20,8 @@ _Bool f(void) {
// CHECK: $"_OBJC_PROTOCOL_$_P" = comdat any
// CHECK: $"_OBJC_LABEL_PROTOCOL_$_P" = comdat any
-// CHECK: $"\01l_OBJC_PROTOCOL_REFERENCE_$_Q" = comdat any
-// CHECK: $"\01l_OBJC_PROTOCOL_REFERENCE_$_R" = comdat any
+// CHECK: $"_OBJC_PROTOCOL_REFERENCE_$_Q" = comdat any
+// CHECK: $"_OBJC_PROTOCOL_REFERENCE_$_R" = comdat any
// CHECK: @"_OBJC_PROTOCOL_$_P" = {{.*}}, comdat
// CHECK: @"_OBJC_LABEL_PROTOCOL_$_P" = {{.*}}, comdat
OpenPOWER on IntegriCloud