From 3ec1f198e592833679748aca5c8796cd8db24b23 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Mon, 17 Jan 2011 17:54:17 +0000 Subject: [PATCH] Update tests to accomodate unnamed_addr introduction. llvm-svn: 123663 --- llvm/test/FrontendObjC/2009-08-05-utf16.m | 2 +- llvm/test/FrontendObjC/2010-02-11-fwritable-stringsBug.m | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/llvm/test/FrontendObjC/2009-08-05-utf16.m b/llvm/test/FrontendObjC/2009-08-05-utf16.m index 2964ecfd4991..df3745c48700 100644 --- a/llvm/test/FrontendObjC/2009-08-05-utf16.m +++ b/llvm/test/FrontendObjC/2009-08-05-utf16.m @@ -1,4 +1,4 @@ -/* RUN: %llvmgcc -w -x objective-c -S %s -o - | grep {__utf16_string_1} | grep {internal constant} | grep {12 x i8} +/* RUN: %llvmgcc -w -x objective-c -S %s -o - | grep {__utf16_string_1} | grep {internal unnamed_addr constant} | grep {12 x i8} rdar://7095855 rdar://7115749 */ void *P = @"iPod™"; diff --git a/llvm/test/FrontendObjC/2010-02-11-fwritable-stringsBug.m b/llvm/test/FrontendObjC/2010-02-11-fwritable-stringsBug.m index 13e16312cf66..bb00f6a1e2c6 100644 --- a/llvm/test/FrontendObjC/2010-02-11-fwritable-stringsBug.m +++ b/llvm/test/FrontendObjC/2010-02-11-fwritable-stringsBug.m @@ -1,6 +1,6 @@ // RUN: %llvmgcc -x objective-c -fwritable-strings -S %s -o - | FileCheck %s -// CHECK: @.str = private constant -// CHECK: @.str1 = internal global +// CHECK: @.str = private unnamed_addr constant +// CHECK: @.str1 = internal unnamed_addr global // rdar://7634471