diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-10-06 15:10:43 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-10-06 15:10:43 +0000 |
commit | 2def17935c87f5e6b23d899567ef3dd00ed89d48 (patch) | |
tree | 78000a447829d54c2c4dfdae66314a83c8d2700a /test/CodeGen/X86 | |
parent | fb7cb838b9f99317e80815f74d1baba530086569 (diff) | |
download | llvm-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.ll | 3 |
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 |