mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-05 01:31:05 +00:00
Raise the limit on built-in plugins in llvmc to 10.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83614 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bdd040fba2
commit
17d70ab4fe
@ -246,6 +246,12 @@ LLVMC_BUILTIN_PLUGIN_2 = $(word 2, $(LLVMC_BUILTIN_PLUGINS))
|
||||
LLVMC_BUILTIN_PLUGIN_3 = $(word 3, $(LLVMC_BUILTIN_PLUGINS))
|
||||
LLVMC_BUILTIN_PLUGIN_4 = $(word 4, $(LLVMC_BUILTIN_PLUGINS))
|
||||
LLVMC_BUILTIN_PLUGIN_5 = $(word 5, $(LLVMC_BUILTIN_PLUGINS))
|
||||
LLVMC_BUILTIN_PLUGIN_6 = $(word 6, $(LLVMC_BUILTIN_PLUGINS))
|
||||
LLVMC_BUILTIN_PLUGIN_7 = $(word 7, $(LLVMC_BUILTIN_PLUGINS))
|
||||
LLVMC_BUILTIN_PLUGIN_8 = $(word 8, $(LLVMC_BUILTIN_PLUGINS))
|
||||
LLVMC_BUILTIN_PLUGIN_9 = $(word 9, $(LLVMC_BUILTIN_PLUGINS))
|
||||
LLVMC_BUILTIN_PLUGIN_10 = $(word 10, $(LLVMC_BUILTIN_PLUGINS))
|
||||
|
||||
|
||||
ifneq ($(LLVMC_BUILTIN_PLUGIN_1),)
|
||||
CPP.Flags += -DLLVMC_BUILTIN_PLUGIN_1=$(LLVMC_BUILTIN_PLUGIN_1)
|
||||
@ -267,6 +273,27 @@ ifneq ($(LLVMC_BUILTIN_PLUGIN_5),)
|
||||
CPP.Flags += -DLLVMC_BUILTIN_PLUGIN_5=$(LLVMC_BUILTIN_PLUGIN_5)
|
||||
endif
|
||||
|
||||
ifneq ($(LLVMC_BUILTIN_PLUGIN_6),)
|
||||
CPP.Flags += -DLLVMC_BUILTIN_PLUGIN_5=$(LLVMC_BUILTIN_PLUGIN_6)
|
||||
endif
|
||||
|
||||
ifneq ($(LLVMC_BUILTIN_PLUGIN_7),)
|
||||
CPP.Flags += -DLLVMC_BUILTIN_PLUGIN_5=$(LLVMC_BUILTIN_PLUGIN_7)
|
||||
endif
|
||||
|
||||
ifneq ($(LLVMC_BUILTIN_PLUGIN_8),)
|
||||
CPP.Flags += -DLLVMC_BUILTIN_PLUGIN_5=$(LLVMC_BUILTIN_PLUGIN_8)
|
||||
endif
|
||||
|
||||
ifneq ($(LLVMC_BUILTIN_PLUGIN_9),)
|
||||
CPP.Flags += -DLLVMC_BUILTIN_PLUGIN_5=$(LLVMC_BUILTIN_PLUGIN_9)
|
||||
endif
|
||||
|
||||
ifneq ($(LLVMC_BUILTIN_PLUGIN_10),)
|
||||
CPP.Flags += -DLLVMC_BUILTIN_PLUGIN_5=$(LLVMC_BUILTIN_PLUGIN_10)
|
||||
endif
|
||||
|
||||
|
||||
endif
|
||||
|
||||
endif # LLVMC_BASED_DRIVER
|
||||
|
@ -41,6 +41,26 @@ namespace llvmc {
|
||||
LLVMC_FORCE_LINKAGE_DECL(LLVMC_BUILTIN_PLUGIN_5);
|
||||
#endif
|
||||
|
||||
#ifdef LLVMC_BUILTIN_PLUGIN_6
|
||||
LLVMC_FORCE_LINKAGE_DECL(LLVMC_BUILTIN_PLUGIN_6);
|
||||
#endif
|
||||
|
||||
#ifdef LLVMC_BUILTIN_PLUGIN_7
|
||||
LLVMC_FORCE_LINKAGE_DECL(LLVMC_BUILTIN_PLUGIN_7);
|
||||
#endif
|
||||
|
||||
#ifdef LLVMC_BUILTIN_PLUGIN_8
|
||||
LLVMC_FORCE_LINKAGE_DECL(LLVMC_BUILTIN_PLUGIN_8);
|
||||
#endif
|
||||
|
||||
#ifdef LLVMC_BUILTIN_PLUGIN_9
|
||||
LLVMC_FORCE_LINKAGE_DECL(LLVMC_BUILTIN_PLUGIN_9);
|
||||
#endif
|
||||
|
||||
#ifdef LLVMC_BUILTIN_PLUGIN_10
|
||||
LLVMC_FORCE_LINKAGE_DECL(LLVMC_BUILTIN_PLUGIN_10);
|
||||
#endif
|
||||
|
||||
namespace force_linkage {
|
||||
|
||||
struct LinkageForcer {
|
||||
@ -68,6 +88,26 @@ namespace force_linkage {
|
||||
LLVMC_FORCE_LINKAGE_CALL(LLVMC_BUILTIN_PLUGIN_5);
|
||||
#endif
|
||||
|
||||
#ifdef LLVMC_BUILTIN_PLUGIN_6
|
||||
LLVMC_FORCE_LINKAGE_CALL(LLVMC_BUILTIN_PLUGIN_6);
|
||||
#endif
|
||||
|
||||
#ifdef LLVMC_BUILTIN_PLUGIN_7
|
||||
LLVMC_FORCE_LINKAGE_CALL(LLVMC_BUILTIN_PLUGIN_7);
|
||||
#endif
|
||||
|
||||
#ifdef LLVMC_BUILTIN_PLUGIN_8
|
||||
LLVMC_FORCE_LINKAGE_CALL(LLVMC_BUILTIN_PLUGIN_8);
|
||||
#endif
|
||||
|
||||
#ifdef LLVMC_BUILTIN_PLUGIN_9
|
||||
LLVMC_FORCE_LINKAGE_CALL(LLVMC_BUILTIN_PLUGIN_9);
|
||||
#endif
|
||||
|
||||
#ifdef LLVMC_BUILTIN_PLUGIN_10
|
||||
LLVMC_FORCE_LINKAGE_CALL(LLVMC_BUILTIN_PLUGIN_10);
|
||||
#endif
|
||||
|
||||
}
|
||||
};
|
||||
} // End namespace force_linkage.
|
||||
|
Loading…
x
Reference in New Issue
Block a user