diff options
Diffstat (limited to 'include/llvm-c/Core.h')
-rw-r--r-- | include/llvm-c/Core.h | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h index 6016ac6..5d8cff4 100644 --- a/include/llvm-c/Core.h +++ b/include/llvm-c/Core.h @@ -115,16 +115,26 @@ typedef enum { typedef enum { LLVMExternalLinkage, /**< Externally visible function */ - LLVMLinkOnceLinkage, /**< Keep one copy of function when linking (inline)*/ - LLVMWeakLinkage, /**< Keep one copy of function when linking (weak) */ + LLVMLinkOnceAnyLinkage, /**< Keep one copy of function when linking (inline)*/ + LLVMLinkOnceODRLinkage, /**< Same, but only replaced by something + equivalent. */ + LLVMWeakAnyLinkage, /**< Keep one copy of function when linking (weak) */ + LLVMWeakODRLinkage, /**< Same, but only replaced by something + equivalent. */ LLVMAppendingLinkage, /**< Special purpose, only applies to global arrays */ LLVMInternalLinkage, /**< Rename collisions when linking (static functions) */ + LLVMPrivateLinkage, /**< Like Internal, but omit from symbol table */ LLVMDLLImportLinkage, /**< Function to be imported from DLL */ LLVMDLLExportLinkage, /**< Function to be accessible from DLL */ - LLVMExternalWeakLinkage,/**< ExternalWeak linkage description */ - LLVMGhostLinkage /**< Stand-in functions for streaming fns from + LLVMExternalWeakAnyLinkage,/**< ExternalWeak linkage description */ + LLVMExternalWeakODRLinkage,/**< Same, but only replaced by something + equivalent. */ + LLVMGhostLinkage, /**< Stand-in functions for streaming fns from bitcode */ + LLVMCommonAnyLinkage, /**< Tentative definitions */ + LLVMCommonODRLinkage /**< Same, but only replaced by something + equivalent. */ } LLVMLinkage; typedef enum { |