cddc3e03e4ec99c0268c03a126195173e519ed58 |
|
04-Mar-2016 |
Pirama Arumuga Nainar <pirama@google.com> |
Update aosp/master LLVM for rebase to r256229 http://b/26987366 (cherry picked from commit f3ef5332fa3f4d5ec72c178a2b19dac363a19383) Change-Id: Ic75dcb63191d65df1b69724576392c0aaeb47728
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
6948897e478cbd66626159776a8017b3c18579b9 |
|
01-Jul-2015 |
Pirama Arumuga Nainar <pirama@google.com> |
Update aosp/master LLVM for rebase to r239765 Bug: 20140355: This rebase pulls the upstream fix for the spurious warnings mentioned in the bug. Change-Id: I7fd24253c50f4d48d900875dcf43ce3f1721a3da
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
0c7f116bb6950ef819323d855415b2f2b0aad987 |
|
06-May-2015 |
Pirama Arumuga Nainar <pirama@google.com> |
Update aosp/master LLVM for rebase to r235153 Change-Id: I9bf53792f9fc30570e81a8d80d296c681d005ea7
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
4c5e43da7792f75567b693105cc53e3f1992ad98 |
|
08-Apr-2015 |
Pirama Arumuga Nainar <pirama@google.com> |
Update aosp/master llvm for rebase to r233350 Change-Id: I07d935f8793ee8ec6b7da003f6483046594bca49
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
ebe69fe11e48d322045d5949c83283927a0d790b |
|
23-Mar-2015 |
Stephen Hines <srhines@google.com> |
Update aosp/master LLVM for rebase to r230699. Change-Id: I2b5be30509658cb8266be782de0ab24f9099f9b9
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
37ed9c199ca639565f6ce88105f9e39e898d82d0 |
|
01-Dec-2014 |
Stephen Hines <srhines@google.com> |
Update aosp/master LLVM for rebase to r222494. Change-Id: Ic787f5e0124df789bd26f3f24680f45e678eef2d
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
36b56886974eae4f9c5ebc96befd3e7bfe5de338 |
|
24-Apr-2014 |
Stephen Hines <srhines@google.com> |
Update to LLVM 3.5a. Change-Id: Ifadecab779f128e62e430c2b4f6ddd84953ed617
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
9d7c776d32c8a4d64b37a91c2d627629cf1498ef |
|
19-Nov-2013 |
Bill Wendling <isanbard@gmail.com> |
Merging r195092: ------------------------------------------------------------------------ r195092 | ributzka | 2013-11-18 19:08:35 -0800 (Mon, 18 Nov 2013) | 5 lines [weak vtables] Place class definitions into anonymous namespaces to prevent weak vtables. This patch places class definitions in implementation files into anonymous namespaces to prevent weak vtables. This eliminates the need of providing an out-of-line definition to pin the vtable explicitly to the file. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@195111 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
354362524a72b3fa43a6c09380b7ae3b2380cbba |
|
19-Nov-2013 |
Juergen Ributzka <juergen@apple.com> |
[weak vtables] Remove a bunch of weak vtables This patch removes most of the trivial cases of weak vtables by pinning them to a single object file. The memory leaks in this version have been fixed. Thanks Alexey for pointing them out. Differential Revision: http://llvm-reviews.chandlerc.com/D2068 Reviewed by Andy git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195064 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
b21ab43cfc3fa0dacf5c95f04e58b6d804b59a16 |
|
18-Nov-2013 |
Alexey Samsonov <samsonov@google.com> |
Revert r194865 and r194874. This change is incorrect. If you delete virtual destructor of both a base class and a subclass, then the following code: Base *foo = new Child(); delete foo; will not cause the destructor for members of Child class. As a result, I observe plently of memory leaks. Notable examples I investigated are: ObjectBuffer and ObjectBufferStream, AttributeImpl and StringSAttributeImpl. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194997 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
5a364c5561ec04e33a6f5d52c14f1bac6f247ea0 |
|
15-Nov-2013 |
Juergen Ributzka <juergen@apple.com> |
[weak vtables] Remove a bunch of weak vtables This patch removes most of the trivial cases of weak vtables by pinning them to a single object file. Differential Revision: http://llvm-reviews.chandlerc.com/D2068 Reviewed by Andy git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194865 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
c16babf6939f9db05a8a81c4d530a2fd605b4236 |
|
29-Jul-2013 |
NAKAMURA Takumi <geek4civic@gmail.com> |
ExceptionDemo.cpp: Tweak a @param. [-Wdocumentation] git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187351 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
3c2b0e171f02f2bd0c2506101a1d6e66d7e9bdee |
|
15-May-2013 |
NAKAMURA Takumi <geek4civic@gmail.com> |
ExceptionDemo: Corresponding to r181820, SectionMemoryManager should belong to RTDyldMemoryManager. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181844 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
e4496548155ba6606f107fbdc10ea17e58fd3401 |
|
07-May-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove exception handling support from the old JIT. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181354 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
c8b9551a8fe52cefbefeac820c81996281fff4e5 |
|
05-May-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Port ExceptionDemo to MCJIT. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181168 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
58c3aa204906def9a157ea9a9db091f69af76e4b |
|
01-May-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add support for other typeinfo encodings in the ExceptionDemo. The old jit always uses DW_EH_PE_absptr, but MCJIT can use other encodings. This is in preparation for adding EH support to MCJIT, but not directly related, so I am committing it first. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180883 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
a6f10317bf2b90a16a931d0f5260cf3920a28d62 |
|
13-Jan-2013 |
Dmitri Gribenko <gribozavr@gmail.com> |
Update links to "Itanium C++ ABI: Exception Handling" document git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172356 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
0a08460599eed603e469e3e16d0cf6aa33b8ba93 |
|
02-Jan-2013 |
Chandler Carruth <chandlerc@gmail.com> |
Update the examples for the new header file locations. Sorry for the fallout here, I forgot the examples aren't built by default any more. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171371 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
4ca7e09b7c1e41535f2a1bd86915375d023daf27 |
|
04-Dec-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Sort the #include lines of the examples/... tree. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169249 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
250ab62a62754ed99e66f81611f0f6db6e92e0a3 |
|
26-Nov-2012 |
Rafael Espindola <rafael.espindola@gmail.com> |
Fix gcc's -Wunused-but-set-variable warnings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168576 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
b8bce928f4ffdf50eff69334f3e25b27848536b6 |
|
24-Oct-2012 |
Micah Villmow <villmow@gmail.com> |
Back out r166591, not sure why this made it through since I cancelled the command. Bleh, sorry about this! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166596 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
2f87640b86315beab8a5671cc23f524e59c58bd3 |
|
24-Oct-2012 |
Micah Villmow <villmow@gmail.com> |
Delete a directory that wasn't supposed to be checked in yet. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166591 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
4c856ee1f8672de5da97d73c05687420eb0049e2 |
|
12-Oct-2012 |
NAKAMURA Takumi <geek4civic@gmail.com> |
ExceptionDemo.cpp: Use Function::setDoesNotReturn(). Attributes stuff was updated. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165796 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
9f469a0ca36a6b07c863bffa52357f3db3afcec8 |
|
12-Oct-2012 |
NAKAMURA Takumi <geek4civic@gmail.com> |
ExceptionDemo.cpp: Whitespace. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165795 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
2b4b44e0d2e95fc695eafcc4d192fe1ae261e01e |
|
08-Oct-2012 |
Micah Villmow <villmow@gmail.com> |
Move TargetData to DataLayout. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165401 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
06cb8ed00696eb14d1b831921452e50ec0568ea2 |
|
29-Jun-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Move llvm/Support/IRBuilder.h -> llvm/IRBuilder.h This was always part of the VMCore library out of necessity -- it deals entirely in the IR. The .cpp file in fact was already part of the VMCore library. This is just a mechanical move. I've tried to go through and re-apply the coding standard's preferred header sort, but at 40-ish files, I may have gotten some wrong. Please let me know if so. I'll be committing the corresponding updates to Clang and Polly, and Duncan has DragonEgg. Thanks to Bill and Eric for giving the green light for this bit of cleanup. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159421 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
d9b0b025612992a0b724eeca8bdf10b1d7a5c355 |
|
02-Jun-2012 |
Benjamin Kramer <benny.kra@googlemail.com> |
Fix typos found by http://github.com/lyda/misspell-check git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157885 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
793a32dfb643c2804b79d7d675cc614659debae7 |
|
06-Feb-2012 |
Peter Collingbourne <peter@pcc.me.uk> |
Update ExceptionDemo to use ConstantDataArray. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149867 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
08e8db423df938160bd611741da4c6dad40ce125 |
|
04-Feb-2012 |
Bill Wendling <isanbard@gmail.com> |
Update to the new EH system...remove OLD EH code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149728 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
d40e103ea5bca8a223fc8261b3322b9454e9af12 |
|
08-Dec-2011 |
Peter Collingbourne <peter@pcc.me.uk> |
EngineBuilder: support for custom TargetOptions. Fixes the ExceptionDemo example. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146108 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
113aa8612010434069fc5b5e09f6b2667e03e173 |
|
28-Sep-2011 |
Garrison Venn <gvenn.cfe.dev@gmail.com> |
Changed comments on foreign C++ exceptions (generated with type info 7), handling with references to http://sourcery.mentor.com/public/cxx-abi/abi-eh.html (r 1.22). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140695 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
9cb5086f2a08f691f994e99c244dbc6c1ed5acfa |
|
23-Sep-2011 |
Garrison Venn <gvenn.cfe.dev@gmail.com> |
Modified demo to use 3.0 resume instruction vs calling _Unwine_Resume. Also conducted some reformatting. As the LLVM coding standard doc does not seem to touch on how to align function arguments, and format code longer than 80 cols in general, the confusion persists. There is the golden rule, but as this code has gone through several styles to deal with this, the golden rule seems to be ignored. The latest reformatting effort tries to match the other source files as much as possible. Tested on OS X 10.7.1 with, and without the OLD_EXC_SYSTEM defined. Have NOT tested on LINUX. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140379 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
85500714c460be6452a96be1574d8676d062051c |
|
22-Sep-2011 |
Garrison Venn <gvenn.cfe.dev@gmail.com> |
Converted Exception demo over to using new 3.0 landingpad instruction. This was compiled and tested on OS X 10.7.1. It was not tested on LINUX. In addition the defined OLD_EXC_SYSTEM was not tested with this version. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140303 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
aae66fad0566c89f26ab0c9ca92c93f803bbfb3a |
|
22-Sep-2011 |
Garrison Venn <gvenn.cfe.dev@gmail.com> |
This is a hack to get the demo working with the new 3.0 exception infrastructure. As this makes the demo no longer a demo, and especially not a demo on how to use the llvm exception mechanism, this hack will shortly be changed to use the new 3.0 exception infrastructure. However for the time being this demo is an example on how to use the AutoUpgrade UpgradeExceptionHandling(...) function on < 3.0 exception handling code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140301 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
3e74d6fdd248e20a280f1dff3da9a6c689c2c4c3 |
|
24-Aug-2011 |
Evan Cheng <evan.cheng@apple.com> |
Move TargetRegistry and TargetSelect from Target to Support where they belong. These are strictly utilities for registering targets and components. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138450 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
77613d4135d5fc8461d0583837b5b850c4a29ecd |
|
18-Jul-2011 |
Chris Lattner <sabre@nondot.org> |
update this to build with a recent IRBuilder change and de-constify types. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135373 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
c0f33cb59006d42d9d37b02a9158e1a370fc246b |
|
12-Jul-2011 |
Garrison Venn <gvenn.cfe.dev@gmail.com> |
Reverted 134901 because of 134959. Did not use svn merge -r but rather: 1,$s/llvm::Type::getInt\(..\)Ty(builder.getContext())/builder.getInt\1Ty()/g 1,$s/builder.getInt\(..*\)Ty()->getPointerTo()/builder.getInt\1PtrTy()/g vi sub commands (second one was not a reversion but requested by Tobias Grosser. Mod was tested, but other examples have failed to build as they are currently being thrashed with the const qualifier removal change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134985 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
6e6cdd00aaca083779eb70dc238779935da6b9c8 |
|
11-Jul-2011 |
Garrison Venn <gvenn.cfe.dev@gmail.com> |
Modified demo to work with non const Type parameters as is required by new type system. However most of these modifications were due to IRBuilder (IRBuilderBase), not having been modified to NOT return such const qualified free types. If IRBuilder does not change, as can also be seen in its instruction creation methods, to use const free types, it may be useful to have ExceptionDemo drop IRBuilder usage. Modifying builder.getInt32Ty() to llvm::Type::getInt32Ty(builder.getContext()) is pretty ugly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134901 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
7a2bdde0a0eebcd2125055e0eacaca040f0b766c |
|
15-Apr-2011 |
Chris Lattner <sabre@nondot.org> |
Fix a ton of comment typos found by codespell. Patch by Luis Felipe Strano Moraes! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129558 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
18bba84d7782e978caebddbd98b39e555c63b4dc |
|
12-Apr-2011 |
Garrison Venn <gvenn.cfe.dev@gmail.com> |
Added new FIXME note git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129360 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
2227f154eb2028a69adb538be350042dd68edb64 |
|
11-Apr-2011 |
Eli Friedman <eli.friedman@gmail.com> |
Get rid of useless comment; if a file uses functions from a given header, it is obvious that it should be included. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129295 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
2a7d4ad1f4f008ba4820782331464aedccd969d5 |
|
11-Apr-2011 |
Garrison Venn <gvenn.cfe.dev@gmail.com> |
Because some systems have reported that this example would not build the header file cstdio was added as an include. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129291 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
64cfcefdeb05bd955659dfe07435c9ca6ae8efac |
|
10-Apr-2011 |
Garrison Venn <gvenn.cfe.dev@gmail.com> |
Fixed more best practices, and explicit/implicit style guide issues. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129245 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
626ab1ccad703deefd386fc732d875f8e1319edb |
|
08-Apr-2011 |
Chris Lattner <sabre@nondot.org> |
reindent this whole file and do a variety of stylistic cleanups. This code is still a long way from following best practices. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129140 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
cad3f77fa8618ac940aa519cd40c403800977273 |
|
08-Apr-2011 |
Chris Lattner <sabre@nondot.org> |
fix this to build with the recent StructType changes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129139 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
dfa1a79b0c2f09349b6cd451198781a3ced48cb8 |
|
15-Nov-2010 |
Dan Gohman <gohman@apple.com> |
Update examples and documentation to explicitly add basicaa, now that it's no longer included by default. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119169 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
f19f6a9debfeb0248aa3cf159700d1766bb33988 |
|
15-Jun-2010 |
Daniel Dunbar <daniel@zuster.org> |
Remove stray semi-colon. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106009 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
57b6e9eb6ccb757b74beeb377c7c16d08468d3e8 |
|
02-May-2010 |
Duncan Sands <baldrick@free.fr> |
Remove the -enable-sjlj-eh option, which doesn't do anything. Remove the -enable-eh option which is only used by the JIT, and replace it with -jit-enable-eh. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102865 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
7c43f4357d0ba0351af4ee5651ef2bf5286ab16f |
|
20-Apr-2010 |
Benjamin Kramer <benny.kra@googlemail.com> |
Fix -Wcast-qual warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101894 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|
a2c2f1ae849c8091ca8eabfb21eea7947c180c18 |
|
10-Feb-2010 |
Garrison Venn <gvenn.cfe.dev@gmail.com> |
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
/external/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
|