summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenObjC/exceptions-asm-attribute.m
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2017-06-03 16:18:09 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2017-06-03 16:18:09 +0000
commit13d73d53c4b315c000474c63f1a69943092888a2 (patch)
tree6f4fbe9b22568a1f83f40d11a4b8609ffaa0993e /clang/test/CodeGenObjC/exceptions-asm-attribute.m
parent39fbe3bb60cfb6e6c75feb1842f8fb0a4dee52c7 (diff)
downloadbcm5719-llvm-13d73d53c4b315c000474c63f1a69943092888a2.tar.gz
bcm5719-llvm-13d73d53c4b315c000474c63f1a69943092888a2.zip
CodeGen: fix section names for different file formats
This changes the codegen to match the section names according to the ObjC rewriter as well as the runtime. The changes to the test are simply whitespace changes to the section attributes and names and are functionally equivalent (the whitespace is ignored by the linker). llvm-svn: 304661
Diffstat (limited to 'clang/test/CodeGenObjC/exceptions-asm-attribute.m')
-rw-r--r--clang/test/CodeGenObjC/exceptions-asm-attribute.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGenObjC/exceptions-asm-attribute.m b/clang/test/CodeGenObjC/exceptions-asm-attribute.m
index 5719198f796..30be486cca6 100644
--- a/clang/test/CodeGenObjC/exceptions-asm-attribute.m
+++ b/clang/test/CodeGenObjC/exceptions-asm-attribute.m
@@ -15,7 +15,7 @@
// CHECK-X86_64: @"OBJC_EHTYPE_$_MySecretNamespace.EH1" = weak global {{.*}}, align 8
// CHECK-X86_64: @"OBJC_EHTYPE_$_MySecretNamespace.EH2" = external global
// CHECK-X86_64: @"OBJC_EHTYPE_$_MySecretNamespace.EH3" = global {{.*}}, section "__DATA,__objc_const", align 8
-// CHECK-X86_64: @"OBJC_LABEL_CLASS_$" = private global {{.*}}, section "__DATA, __objc_classlist, regular, no_dead_strip", align 8
+// CHECK-X86_64: @"OBJC_LABEL_CLASS_$" = private global {{.*}}, section "__DATA,__objc_classlist,regular,no_dead_strip", align 8
// CHECK-X86_64: define internal void @"\01-[A im0]"
// CHECK-X86_64: define internal void @"\01-[A(Cat) im1]"
@@ -39,7 +39,7 @@
// CHECK-ARMV6: @"OBJC_EHTYPE_$_MySecretNamespace.EH1" = weak global {{.*}}, align 4
// CHECK-ARMV6: @"OBJC_EHTYPE_$_MySecretNamespace.EH2" = external global
// CHECK-ARMV6: @"OBJC_EHTYPE_$_MySecretNamespace.EH3" = global {{.*}}, section "__DATA,__objc_const", align 4
-// CHECK-ARMV6: @"OBJC_LABEL_CLASS_$" = private global {{.*}}, section "__DATA, __objc_classlist, regular, no_dead_strip", align 4
+// CHECK-ARMV6: @"OBJC_LABEL_CLASS_$" = private global {{.*}}, section "__DATA,__objc_classlist,regular,no_dead_strip", align 4
// CHECK-ARMV6: define internal void @"\01-[A im0]"
// CHECK-ARMV6: define internal void @"\01-[A(Cat) im1]"
OpenPOWER on IntegriCloud