implement the alias attirbute (in both Sema and Codegen)

llvm-svn: 52092
diff --git a/clang/test/CodeGen/attributes.c b/clang/test/CodeGen/attributes.c
index a310a3a..95273f8 100644
--- a/clang/test/CodeGen/attributes.c
+++ b/clang/test/CodeGen/attributes.c
@@ -24,3 +24,7 @@
 // RUN: clang -emit-llvm < %s | grep 't7.*nounwind'
 void t7() __attribute__((noreturn, nothrow));
 void t7() {}
+
+// RUN: clang -emit-llvm < %s | grep 't9.*alias.*weak.*t8'
+void __t8() {}
+void t9() __attribute__((weak, alias("__t8")));