summaryrefslogtreecommitdiffstats
path: root/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix a ton of comment typos found by codespell. Patch byChris Lattner2011-04-151-1/+1
| | | | | | Luis Felipe Strano Moraes! llvm-svn: 129558
* Added new FIXME noteGarrison Venn2011-04-121-0/+9
| | | | llvm-svn: 129360
* Get rid of useless comment; if a file uses functions from a given header,Eli Friedman2011-04-111-4/+0
| | | | | | it is obvious that it should be included. llvm-svn: 129295
* Because some systems have reported that this example would not build theGarrison Venn2011-04-111-0/+5
| | | | | | header file cstdio was added as an include. llvm-svn: 129291
* Fixed more best practices, and explicit/implicit style guide issues.Garrison Venn2011-04-101-131/+128
| | | | llvm-svn: 129245
* reindent this whole file and do a variety of stylistic cleanups.Chris Lattner2011-04-081-1422/+1400
| | | | | | This code is still a long way from following best practices. llvm-svn: 129140
* fix this to build with the recent StructType changes.Chris Lattner2011-04-081-6/+6
| | | | llvm-svn: 129139
* Update examples and documentation to explicitly add basicaa, now that it'sDan Gohman2010-11-151-0/+3
| | | | | | no longer included by default. llvm-svn: 119169
* Remove stray semi-colon.Daniel Dunbar2010-06-151-1/+1
| | | | llvm-svn: 106009
* Remove the -enable-sjlj-eh option, which doesn't do anything.Duncan Sands2010-05-021-1/+1
| | | | | | | Remove the -enable-eh option which is only used by the JIT, and replace it with -jit-enable-eh. llvm-svn: 102865
* Fix -Wcast-qual warning.Benjamin Kramer2010-04-201-2/+1
| | | | llvm-svn: 101894
* Adds a JIT based exception handling example to the examples directory. Garrison Venn2010-02-091-0/+2028
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). llvm-svn: 95723
OpenPOWER on IntegriCloud