diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-09-18 16:12:04 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-09-18 16:12:04 +0000 |
commit | dba490c140af9e7098cb318767619efe7123a265 (patch) | |
tree | e062533de318862ab27a277fab5b205133bfd106 /test/CodeGenObjC/complex-property.m | |
parent | baa899667effc68f7e29c22d82f23ae2d42f8ee0 (diff) |
CodeGen: mark ObjC cstring literals as constant
These strings are constants, mark them as such. This doesn't matter too much in
practice on MachO since the constants are placed into a special section and not
referred to directly.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@281854 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenObjC/complex-property.m')
-rw-r--r-- | test/CodeGenObjC/complex-property.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGenObjC/complex-property.m b/test/CodeGenObjC/complex-property.m index bed0ca6611..dd65ca7821 100644 --- a/test/CodeGenObjC/complex-property.m +++ b/test/CodeGenObjC/complex-property.m @@ -13,8 +13,8 @@ void f0(A *a) { a.y += a1; } -// CHECK-LP64: private global [13 x i8] c"COMPLEX_PROP -// CHECK-LP64: private global [17 x i8] c"setCOMPLEX_PROP +// CHECK-LP64: private constant [13 x i8] c"COMPLEX_PROP +// CHECK-LP64: private constant [17 x i8] c"setCOMPLEX_PROP // rdar: // 7351147 @interface B |