diff options
author | Dan Gohman <gohman@apple.com> | 2010-06-24 17:36:51 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-06-24 17:36:51 +0000 |
commit | fc33a3099eb37d61d422be603a3de8b5c9e384ae (patch) | |
tree | fa0cfe2599ee064aa2b9542a7fecf8720ea138e1 /lib/Transforms/Hello | |
parent | eec418d26f08e9cf32b8eab03da59d6cd5dd7faa (diff) |
Add an exports file for the Hello example plugin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106768 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Hello')
-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 |