diff --git a/test/Linker/unnamed-addr1-a.ll b/test/Linker/unnamed-addr1-a.ll index 652625ee3c8..8ab9d09aa3d 100644 --- a/test/Linker/unnamed-addr1-a.ll +++ b/test/Linker/unnamed-addr1-a.ll @@ -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 diff --git a/test/Linker/unnamed-addr1-b.ll b/test/Linker/unnamed-addr1-b.ll index 7d94dc1928c..ef009e87ec2 100644 --- a/test/Linker/unnamed-addr1-b.ll +++ b/test/Linker/unnamed-addr1-b.ll @@ -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