From 66e41e3c6e8b8fbc48d5d3b4d2bd9ce0be4ecb75 Mon Sep 17 00:00:00 2001 From: Roman Divacky Date: Tue, 13 Jul 2010 17:19:57 +0000 Subject: Update LLVM to r108243. --- include/llvm-c/Core.h | 3 ++- include/llvm-c/Target.h | 3 ++- include/llvm-c/lto.h | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) (limited to 'include/llvm-c') diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h index d665c89377f4..117f2d6dcff4 100644 --- a/include/llvm-c/Core.h +++ b/include/llvm-c/Core.h @@ -226,7 +226,8 @@ typedef enum { LLVMExternalWeakLinkage,/**< ExternalWeak linkage description */ LLVMGhostLinkage, /**< Obsolete */ LLVMCommonLinkage, /**< Tentative definitions */ - LLVMLinkerPrivateLinkage /**< Like Private, but linker removes. */ + LLVMLinkerPrivateLinkage, /**< Like Private, but linker removes. */ + LLVMLinkerPrivateWeakLinkage /**< Like LinkerPrivate, but is weak. */ } LLVMLinkage; typedef enum { diff --git a/include/llvm-c/Target.h b/include/llvm-c/Target.h index 2948fc76f195..b1b9f36fb2b9 100644 --- a/include/llvm-c/Target.h +++ b/include/llvm-c/Target.h @@ -32,7 +32,8 @@ typedef struct LLVMOpaqueTargetData *LLVMTargetDataRef; typedef struct LLVMStructLayout *LLVMStructLayoutRef; /* Declare all of the target-initialization functions that are available. */ -#define LLVM_TARGET(TargetName) void LLVMInitialize##TargetName##TargetInfo(void); +#define LLVM_TARGET(TargetName) \ + void LLVMInitialize##TargetName##TargetInfo(void); #include "llvm/Config/Targets.def" #undef LLVM_TARGET /* Explicit undef to make SWIG happier */ diff --git a/include/llvm-c/lto.h b/include/llvm-c/lto.h index 7cafcb29f219..93f37605a41b 100644 --- a/include/llvm-c/lto.h +++ b/include/llvm-c/lto.h @@ -102,7 +102,7 @@ lto_module_is_object_file_in_memory(const void* mem, size_t length); */ extern bool lto_module_is_object_file_in_memory_for_target(const void* mem, size_t length, - const char* target_triple_prefix); + const char* target_triple_prefix); /** -- cgit v1.3