diff options
Diffstat (limited to 'lib/Transforms')
-rw-r--r-- | lib/Transforms/Hello/Hello.exports | 0 | ||||
-rw-r--r-- | lib/Transforms/Hello/Makefile | 8 |
2 files changed, 8 insertions, 0 deletions
diff --git a/lib/Transforms/Hello/Hello.exports b/lib/Transforms/Hello/Hello.exports new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/lib/Transforms/Hello/Hello.exports diff --git a/lib/Transforms/Hello/Makefile b/lib/Transforms/Hello/Makefile index c5e75d43af..f1e31489d3 100644 --- a/lib/Transforms/Hello/Makefile +++ b/lib/Transforms/Hello/Makefile @@ -12,5 +12,13 @@ LIBRARYNAME = LLVMHello LOADABLE_MODULE = 1 USEDLIBS = +# If we don't need RTTI or EH, there's no reason to export anything +# from the hello plugin. +ifneq ($(REQUIRES_RTTI), 1) +ifneq ($(REQUIRES_EH), 1) +EXPORTED_SYMBOL_FILE = $(PROJ_SRC_DIR)/Hello.exports +endif +endif + include $(LEVEL)/Makefile.common |