summaryrefslogtreecommitdiffstats
path: root/llvm/test/Linker
diff options
context:
space:
mode:
authorSunil Srivastava <sunil_srivastava@playstation.sony.com>2015-05-12 16:47:30 +0000
committerSunil Srivastava <sunil_srivastava@playstation.sony.com>2015-05-12 16:47:30 +0000
commitd79dfcbc37b1b0909c2340d4c7b0e00aa090597f (patch)
tree1c8b08533924fe5c94b096c7b83396943bd80198 /llvm/test/Linker
parentf57fb6ce1ae1a9f85ba70d8e251559ac2aa8bc75 (diff)
downloadbcm5719-llvm-d79dfcbc37b1b0909c2340d4c7b0e00aa090597f.tar.gz
bcm5719-llvm-d79dfcbc37b1b0909c2340d4c7b0e00aa090597f.zip
Changed renaming of local symbols by inserting a dot vefore the numeric suffix.
One code change and several test changes to match that details in http://reviews.llvm.org/D9481 llvm-svn: 237150
Diffstat (limited to 'llvm/test/Linker')
-rw-r--r--llvm/test/Linker/2011-08-04-Metadata.ll2
-rw-r--r--llvm/test/Linker/override-with-internal-linkage-2.ll2
-rw-r--r--llvm/test/Linker/testlink.ll2
3 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/Linker/2011-08-04-Metadata.ll b/llvm/test/Linker/2011-08-04-Metadata.ll
index cb6820e4849..fc1af754abd 100644
--- a/llvm/test/Linker/2011-08-04-Metadata.ll
+++ b/llvm/test/Linker/2011-08-04-Metadata.ll
@@ -7,7 +7,7 @@
; CHECK-SAME: variable: i32* @x{{[,)]}}
; CHECK: !DIGlobalVariable(name: "x",
; CHECK-NOT: linkageName:
-; CHECK-SAME: variable: i32* @x1{{[,)]}}
+; CHECK-SAME: variable: i32* @x.1{{[,)]}}
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
target triple = "x86_64-apple-macosx10.7.0"
diff --git a/llvm/test/Linker/override-with-internal-linkage-2.ll b/llvm/test/Linker/override-with-internal-linkage-2.ll
index 2de52a925b2..45b131fe579 100644
--- a/llvm/test/Linker/override-with-internal-linkage-2.ll
+++ b/llvm/test/Linker/override-with-internal-linkage-2.ll
@@ -11,7 +11,7 @@ entry:
ret i32 %add
}
-; CHECK-LABEL: define internal i32 @foo1
+; CHECK-LABEL: define internal i32 @foo.1
; CHECK-NEXT: entry:
; CHECK-NEXT: ret i32 4
diff --git a/llvm/test/Linker/testlink.ll b/llvm/test/Linker/testlink.ll
index 5488fccca59..2e9447ddfd3 100644
--- a/llvm/test/Linker/testlink.ll
+++ b/llvm/test/Linker/testlink.ll
@@ -61,7 +61,7 @@
@AConst = linkonce constant i32 123
; Renamed version of Intern1.
-; CHECK-DAG: @Intern1{{[0-9]+}} = internal constant i32 52
+; CHECK-DAG: @Intern1.{{[0-9]+}} = internal constant i32 52
; Globals linked from testlink2.
OpenPOWER on IntegriCloud