llvm-6502/lib
Nico Rieck 38f68c5a2e Decouple dllexport/dllimport from linkage
Representing dllexport/dllimport as distinct linkage types prevents using
these attributes on templates and inline functions.

Instead of introducing further mixed linkage types to include linkonce and
weak ODR, the old import/export linkage types are replaced with a new
separate visibility-like specifier:

  define available_externally dllimport void @f() {}
  @Var = dllexport global i32 1, align 4

Linkage for dllexported globals and functions is now equal to their linkage
without dllexport. Imported globals and functions must be either
declarations with external linkage, or definitions with
AvailableExternallyLinkage.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199218 91177308-0d34-0410-b5e6-96231b3b80d8
2014-01-14 15:22:47 +00:00
..
Analysis [PM] Split DominatorTree into a concrete analysis result object which 2014-01-13 13:07:17 +00:00
AsmParser Decouple dllexport/dllimport from linkage 2014-01-14 15:22:47 +00:00
Bitcode Decouple dllexport/dllimport from linkage 2014-01-14 15:22:47 +00:00
CodeGen Decouple dllexport/dllimport from linkage 2014-01-14 15:22:47 +00:00
DebugInfo llvm-dwarfdump: type unit dwo support 2014-01-09 05:08:24 +00:00
ExecutionEngine Decouple dllexport/dllimport from linkage 2014-01-14 15:22:47 +00:00
IR Decouple dllexport/dllimport from linkage 2014-01-14 15:22:47 +00:00
IRReader Update getLazyBitcodeModule to use ErrorOr for error handling. 2014-01-13 18:31:04 +00:00
Linker Decouple dllexport/dllimport from linkage 2014-01-14 15:22:47 +00:00
LTO Revert r199191, "LTO: add API to set strategy for -internalize" 2014-01-14 09:40:18 +00:00
MC Replace .mips_hack_stocg with ".set micromips" and ".set nomicromips". 2014-01-14 04:25:13 +00:00
Object Re-sort all of the includes with ./utils/sort_includes.py so that 2014-01-07 11:48:04 +00:00
Option
Support raw_fd_ostream: Don't change STDERR to O_BINARY, or w*printf() (in assert()) would barf wide chars after llvm::errs(). 2014-01-12 16:14:24 +00:00
TableGen [TableGen] Correctly generate implicit anonymous prototype defs in multiclasses 2014-01-02 20:47:09 +00:00
Target Decouple dllexport/dllimport from linkage 2014-01-14 15:22:47 +00:00
Transforms Decouple dllexport/dllimport from linkage 2014-01-14 15:22:47 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile