summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-10-06 15:10:43 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-10-06 15:10:43 +0000
commit2def17935c87f5e6b23d899567ef3dd00ed89d48 (patch)
tree78000a447829d54c2c4dfdae66314a83c8d2700a /test/CodeGen/X86
parentfb7cb838b9f99317e80815f74d1baba530086569 (diff)
downloadllvm-2def17935c87f5e6b23d899567ef3dd00ed89d48.tar.gz
llvm-2def17935c87f5e6b23d899567ef3dd00ed89d48.tar.bz2
llvm-2def17935c87f5e6b23d899567ef3dd00ed89d48.tar.xz
Add support for aliases with linkonce_odr.
This will be used to extend constructor aliases in clang. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192066 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86')
-rw-r--r--test/CodeGen/X86/aliases.ll3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/CodeGen/X86/aliases.ll b/test/CodeGen/X86/aliases.ll
index 4658cb42cd..025dcfedb6 100644
--- a/test/CodeGen/X86/aliases.ll
+++ b/test/CodeGen/X86/aliases.ll
@@ -14,6 +14,9 @@ declare i32 @foo_f()
; CHECK-DAG: .weak bar_f
@bar_f = alias weak %FunTy* @foo_f
+@bar_l = alias linkonce_odr i32* @bar
+; CHECK-DAG: .weak bar_l
+
@bar_i = alias internal i32* @bar
; CHECK-DAG: .globl A