Rename in preparation for adding tests for function linking.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189944 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola 2013-09-04 14:40:49 +00:00
parent 2396be0c6e
commit 254f75095b
2 changed files with 28 additions and 28 deletions

View File

@ -1,27 +1,27 @@
; RUN: llvm-link %s %p/unnamed-addr1-b.ll -S -o - | FileCheck %s
; Only in this file
@a = common global i32 0
; CHECK-DAG: @a = common global i32 0
@b = common unnamed_addr global i32 0
; CHECK-DAG: @b = common unnamed_addr global i32 0
@global-a = common global i32 0
; CHECK-DAG: @global-a = common global i32 0
@global-b = common unnamed_addr global i32 0
; CHECK-DAG: @global-b = common unnamed_addr global i32 0
; Other file has unnamed_addr definition
@c = common unnamed_addr global i32 0
; CHECK-DAG: @c = common unnamed_addr global i32 0
@d = external global i32
; CHECK-DAG: @d = global i32 42
@e = external unnamed_addr global i32
; CHECK-DAG: @e = unnamed_addr global i32 42
@f = weak global i32 42
; CHECK-DAG: @f = global i32 42
@global-c = common unnamed_addr global i32 0
; CHECK-DAG: @global-c = common unnamed_addr global i32 0
@global-d = external global i32
; CHECK-DAG: @global-d = global i32 42
@global-e = external unnamed_addr global i32
; CHECK-DAG: @global-e = unnamed_addr global i32 42
@global-f = weak global i32 42
; CHECK-DAG: @global-f = global i32 42
; Other file has non-unnamed_addr definition
@g = common unnamed_addr global i32 0
; CHECK-DAG: @g = common global i32 0
@h = external global i32
; CHECK-DAG: @h = global i32 42
@i = external unnamed_addr global i32
; CHECK-DAG: @i = global i32 42
@j = weak global i32 42
; CHECK-DAG: @j = global i32 42
@global-g = common unnamed_addr global i32 0
; CHECK-DAG: @global-g = common global i32 0
@global-h = external global i32
; CHECK-DAG: @global-h = global i32 42
@global-i = external unnamed_addr global i32
; CHECK-DAG: @global-i = global i32 42
@global-j = weak global i32 42
; CHECK-DAG: @global-j = global i32 42

View File

@ -1,12 +1,12 @@
; This file is for use with unnamed-addr1-a.ll
; RUN: true
@c = common unnamed_addr global i32 42
@d = unnamed_addr global i32 42
@e = unnamed_addr global i32 42
@f = unnamed_addr global i32 42
@global-c = common unnamed_addr global i32 42
@global-d = unnamed_addr global i32 42
@global-e = unnamed_addr global i32 42
@global-f = unnamed_addr global i32 42
@g = common global i32 42
@h = global i32 42
@i = global i32 42
@j = global i32 42
@global-g = common global i32 42
@global-h = global i32 42
@global-i = global i32 42
@global-j = global i32 42