aboutsummaryrefslogtreecommitdiffstats
path: root/examples/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Removed TracingBrainF from examples Makefile.Garrison Venn2010-09-151-2/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113970 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a new example to the LLVM distribution: a trace-based Brainfuck compiler ↵Owen Anderson2010-08-301-1/+2
| | | | | | that uses LLVM as its code generator. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112465 91177308-0d34-0410-b5e6-96231b3b80d8
* Trailing whitespace.Mikhail Glushenkov2010-08-191-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111552 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't always run the ocaml kaleidoscope tutorials.Erick Tryzelaar2010-03-081-2/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97973 91177308-0d34-0410-b5e6-96231b3b80d8
* Add OCaml tutorial to the examples.Erick Tryzelaar2010-03-081-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97966 91177308-0d34-0410-b5e6-96231b3b80d8
* Modified examples Makefile to only build the ExceptionDemo example for Garrison Venn2010-02-231-1/+6
| | | | | | | | | | | | | | x86 and x86_64 on UNIX systems. Only OS X 10.6.2 (x86_64) and 32bit CentOS 5.2 with gcc 4.1.2 were tested. ARM UNIX build triggered failure motivating this modification, as it seems that the ARM ABI does not support _Unwind_GetIP(...), _Unwind_SetGR(...), and _Unwind_SetIP(...). From doing a quick browse of: http://infocenter.arm.com/help/topic/com.arm.doc.ihi0038a/IHI0038A_ehabi.pdf, it seems as if all other exception related apis are supported. Looks like the port can be done to ARM. Thanks to Xerxes Rånby <xerxes@zafena.se> for pointing out this error. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96949 91177308-0d34-0410-b5e6-96231b3b80d8
* Prevented build on WINDOWS using default make system. Stopped WINDOWS buildGarrison Venn2010-02-101-2/+5
| | | | | | | at eh llvm/examples level using if check on LLVM_ON_UNIX. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95763 91177308-0d34-0410-b5e6-96231b3b80d8
* Adds a JIT based exception handling example to the examples directory. Garrison Venn2010-02-091-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* Add Kaleidoscope to examples/ so that it gets built regularly and we'll noticeNick Lewycky2009-04-121-1/+1
| | | | | | | | if an API change causes it to be out of date. The code is copied out of LangImpl7.html. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68912 91177308-0d34-0410-b5e6-96231b3b80d8
* remove attributions from the rest of the llvm makefiles.Chris Lattner2007-12-291-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45416 91177308-0d34-0410-b5e6-96231b3b80d8
* add a new BF->LLVM translator, contributed by Sterling Stein.Chris Lattner2007-09-121-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41881 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove BFtoLLVM. It was old, and a poor example because it didn't use best ↵Owen Anderson2007-07-031-1/+1
| | | | | | | | | practices for making a LLVM frontend in C++. Maybe someday it will be rewritten.. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37858 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert last patch. The examples build now.Reid Spencer2007-03-061-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34970 91177308-0d34-0410-b5e6-96231b3b80d8
* temporarily disable this until Reid has a chance to fix it.Chris Lattner2007-03-061-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34962 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR1019:Reid Spencer2006-12-011-1/+1
| | | | | | | | | Add HAVE_PTHREAD to makefiles with support from configure and use it to determine whether to build examples/ParallelJIT. Patch by Anton Korobeynikov. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32054 91177308-0d34-0410-b5e6-96231b3b80d8
* Support correct build:Reid Spencer2006-06-011-2/+5
| | | | | | | | | 1. Capture the ENABLE_THREADS configure variable in Makefile.config 2. Use ENABLE_THREADS to avoid building ParallelJIT if threads are not present. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28609 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR418:Reid Spencer2005-07-121-1/+1
| | | | | | | | | | | | Add an example program that utilizes multiple threads in the JIT to process work. This was used by Evan Jones as the original test case for ensuring that the ExecutionEngine was thread safe. Original source by Evan Jones (adapted from other LLVM JIT examples) and made LLVM style compliant by Reid Spencer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22411 91177308-0d34-0410-b5e6-96231b3b80d8
* Build BFtoLLVM example front-end by defaultBrian Gaeke2004-10-051-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16719 91177308-0d34-0410-b5e6-96231b3b80d8
* Moved small examples from /projects/SmallExamples to /examples.Reid Spencer2004-08-231-3/+4
| | | | | | | Made the "ModuleMaker" into an example since its just one source file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16003 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix Title lineReid Spencer2004-08-231-2/+2
| | | | | | | Make the "DIRS" option descend any directory with a Makefile. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16001 91177308-0d34-0410-b5e6-96231b3b80d8
* Make people explicitly add dirs to this. Remove ModuleMaker as it currentlyChris Lattner2004-08-201-2/+1
| | | | | | | does not build (it must be configured before it will work) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15936 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the SmallExamples programs compile in their new home.Reid Spencer2004-08-191-0/+16
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15923 91177308-0d34-0410-b5e6-96231b3b80d8