Go to file
Rafael Espindola 4a04c4b69c Emit data or code export directives based on the type.
Currently we look at the Aliasee to decide what type of export
directive to use. It seems better to use the type of the alias
directly. This is similar to how we handle the alias having the
same address but other attributes (linkage, visibility) from the
aliasee.

With this patch it is now possible to do things like

target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-windows-msvc"
@foo = global [6 x i8] c"\B8*\00\00\00\C3", section ".text", align 16
@f = dllexport alias i32 (), [6 x i8]* @foo
!llvm.module.flags = !{!0}
!0 = metadata !{i32 6, metadata !"Linker Options", metadata !1}
!1 = metadata !{metadata !2, metadata !3}
!2 = metadata !{metadata !"/DEFAULTLIB:libcmt.lib"}
!3 = metadata !{metadata !"/DEFAULTLIB:oldnames.lib"}

llvm-svn: 209600
2014-05-25 12:49:07 +00:00
clang Sema: Add dll attribute tests for member functions 2014-05-25 10:35:03 +00:00
clang-tools-extra ClangTidyOptionsTest.cpp: Rewrite literals. Raw string literals are unavailable on msc17. 2014-05-24 17:22:01 +00:00
compiler-rt [sanitizer] Make stack traces from dlclose()'d modules more meaningful. 2014-05-23 16:04:41 +00:00
debuginfo-tests relax testcase for LLDB output format compatibility. 2014-03-19 23:06:18 +00:00
libclc Fix build broken by LLVM commit r207593 2014-04-30 18:35:20 +00:00
libcxx Fix bug 19840, where some tests were not testing what we wanted. Thanks to Eric for the bug report 2014-05-23 15:30:23 +00:00
libcxxabi Fix typo in comment. 2014-05-14 17:16:57 +00:00
lld [Mips] Reduce code duplication. Join relocation handling functions which 2014-05-25 10:07:04 +00:00
lldb Add a lock ivar to the Platform so that multiple Targets 2014-05-23 23:11:27 +00:00
llvm Emit data or code export directives based on the type. 2014-05-25 12:49:07 +00:00
openmp Add testsuite from OpenUH 2014-05-10 17:02:09 +00:00
polly ScopDetectionDiagnostic: Update Makefile 2014-05-24 18:51:14 +00:00