aboutsummaryrefslogtreecommitdiffstats
path: root/examples/Makefile
diff options
context:
space:
mode:
authorGarrison Venn <gvenn.cfe.dev@gmail.com>2010-02-09 23:22:43 +0000
committerGarrison Venn <gvenn.cfe.dev@gmail.com>2010-02-09 23:22:43 +0000
commit0ee8cfde3d417e849453205e2a0039e1f59e2155 (patch)
treef02436e064c4c3e10b254f382e66cb21b256f868 /examples/Makefile
parentf44462e6ab4521214c088cc8610e9471d23e1a89 (diff)
downloadexternal_llvm-0ee8cfde3d417e849453205e2a0039e1f59e2155.zip
external_llvm-0ee8cfde3d417e849453205e2a0039e1f59e2155.tar.gz
external_llvm-0ee8cfde3d417e849453205e2a0039e1f59e2155.tar.bz2
Adds a JIT based exception handling example to the examples directory.
Both zero cost example domain specific, and C++ foreign exception handling are shown. The example's documentation fully explains how to run the example. Notes: 1) The code uses an extremely simple type info model. 2) Only a single landing pad is used per unwind edge (one call to llvm.eh.selector) 3) llvm.eh.selector support for filter arguments is not given. 4) llvm.eh.typeid.for is not used. 5) Forced unwind behavior is not supported. 6) Very little if any error handling is given. 7) __attribute__((__aligned__)) is used. 8) The code uses parts from the llvm compiler-rt project and the llvm Kaleidoscope example. 9) The code has not been ported or tested on WINDOWS. 10) The code was not tested with a cmake build. 11) The code was tested for a debug build on 32bit X86 CentOS LINUX, and both a debug and release build on OS X 10.6.2 (64bit). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95723 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples/Makefile')
-rw-r--r--examples/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/Makefile b/examples/Makefile
index eb5dabd..488d589 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -10,7 +10,8 @@ LEVEL=..
include $(LEVEL)/Makefile.config
-PARALLEL_DIRS:= BrainF Fibonacci HowToUseJIT Kaleidoscope ModuleMaker
+PARALLEL_DIRS:= BrainF Fibonacci HowToUseJIT Kaleidoscope ModuleMaker \
+ ExceptionDemo
ifeq ($(HAVE_PTHREAD),1)
PARALLEL_DIRS += ParallelJIT