[llvm] r189944 - Rename in preparation for adding tests for function linking.
Rafael Espindola
rafael.espindola at gmail.com
Wed Sep 4 07:40:49 PDT 2013
Author: rafael
Date: Wed Sep 4 09:40:49 2013
New Revision: 189944
URL: http://llvm.org/viewvc/llvm-project?rev=189944&view=rev
Log:
Rename in preparation for adding tests for function linking.
Modified:
llvm/trunk/test/Linker/unnamed-addr1-a.ll
llvm/trunk/test/Linker/unnamed-addr1-b.ll
Modified: llvm/trunk/test/Linker/unnamed-addr1-a.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Linker/unnamed-addr1-a.ll?rev=189944&r1=189943&r2=189944&view=diff
==============================================================================
--- llvm/trunk/test/Linker/unnamed-addr1-a.ll (original)
+++ llvm/trunk/test/Linker/unnamed-addr1-a.ll Wed Sep 4 09:40:49 2013
@@ -1,27 +1,27 @@
; RUN: llvm-link %s %p/unnamed-addr1-b.ll -S -o - | FileCheck %s
; Only in this file
- at a = common global i32 0
-; CHECK-DAG: @a = common global i32 0
- at b = common unnamed_addr global i32 0
-; CHECK-DAG: @b = common unnamed_addr global i32 0
+ at global-a = common global i32 0
+; CHECK-DAG: @global-a = common global i32 0
+ at global-b = common unnamed_addr global i32 0
+; CHECK-DAG: @global-b = common unnamed_addr global i32 0
; Other file has unnamed_addr definition
- at c = common unnamed_addr global i32 0
-; CHECK-DAG: @c = common unnamed_addr global i32 0
- at d = external global i32
-; CHECK-DAG: @d = global i32 42
- at e = external unnamed_addr global i32
-; CHECK-DAG: @e = unnamed_addr global i32 42
- at f = weak global i32 42
-; CHECK-DAG: @f = global i32 42
+ at global-c = common unnamed_addr global i32 0
+; CHECK-DAG: @global-c = common unnamed_addr global i32 0
+ at global-d = external global i32
+; CHECK-DAG: @global-d = global i32 42
+ at global-e = external unnamed_addr global i32
+; CHECK-DAG: @global-e = unnamed_addr global i32 42
+ at global-f = weak global i32 42
+; CHECK-DAG: @global-f = global i32 42
; Other file has non-unnamed_addr definition
- at g = common unnamed_addr global i32 0
-; CHECK-DAG: @g = common global i32 0
- at h = external global i32
-; CHECK-DAG: @h = global i32 42
- at i = external unnamed_addr global i32
-; CHECK-DAG: @i = global i32 42
- at j = weak global i32 42
-; CHECK-DAG: @j = global i32 42
+ at global-g = common unnamed_addr global i32 0
+; CHECK-DAG: @global-g = common global i32 0
+ at global-h = external global i32
+; CHECK-DAG: @global-h = global i32 42
+ at global-i = external unnamed_addr global i32
+; CHECK-DAG: @global-i = global i32 42
+ at global-j = weak global i32 42
+; CHECK-DAG: @global-j = global i32 42
Modified: llvm/trunk/test/Linker/unnamed-addr1-b.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Linker/unnamed-addr1-b.ll?rev=189944&r1=189943&r2=189944&view=diff
==============================================================================
--- llvm/trunk/test/Linker/unnamed-addr1-b.ll (original)
+++ llvm/trunk/test/Linker/unnamed-addr1-b.ll Wed Sep 4 09:40:49 2013
@@ -1,12 +1,12 @@
; This file is for use with unnamed-addr1-a.ll
; RUN: true
- at c = common unnamed_addr global i32 42
- at d = unnamed_addr global i32 42
- at e = unnamed_addr global i32 42
- at f = unnamed_addr global i32 42
+ at global-c = common unnamed_addr global i32 42
+ at global-d = unnamed_addr global i32 42
+ at global-e = unnamed_addr global i32 42
+ at global-f = unnamed_addr global i32 42
- at g = common global i32 42
- at h = global i32 42
- at i = global i32 42
- at j = global i32 42
+ at global-g = common global i32 42
+ at global-h = global i32 42
+ at global-i = global i32 42
+ at global-j = global i32 42
More information about the llvm-commits
mailing list