diff options
author | Chris Lattner <sabre@nondot.org> | 2007-09-10 23:23:53 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-09-10 23:23:53 +0000 |
commit | e543424d9a7d7f3042c9137fe7c6be4076016744 (patch) | |
tree | 5e0d8964645533bf9b5d67ecf2728e4e6774c422 /test | |
parent | 0c82b9de7724a72fdf7e9747db95ecbe9d40302b (diff) | |
download | external_llvm-e543424d9a7d7f3042c9137fe7c6be4076016744.zip external_llvm-e543424d9a7d7f3042c9137fe7c6be4076016744.tar.gz external_llvm-e543424d9a7d7f3042c9137fe7c6be4076016744.tar.bz2 |
Fix PR1645 by resolving forward alias references.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41815 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/Assembler/2007-09-10-AliasFwdRef.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Assembler/2007-09-10-AliasFwdRef.ll b/test/Assembler/2007-09-10-AliasFwdRef.ll new file mode 100644 index 0000000..b21491b --- /dev/null +++ b/test/Assembler/2007-09-10-AliasFwdRef.ll @@ -0,0 +1,9 @@ +; RUN: llvm-as < %s | llvm-dis +; PR1645 + +@__gthread_active_ptr.5335 = internal constant i8* bitcast (i32 (i32)* @__gthrw_pthread_cancel to i8*) +@__gthrw_pthread_cancel = alias weak i32 (i32)* @pthread_cancel + + + +declare extern_weak i32 @pthread_cancel(i32) |