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
|