1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/docs
Duncan Sands 883740b39f There is an impedance matching problem between LLVM and
gcc exception handling: if an exception unwinds through
an invoke, then execution must branch to the invoke's
unwind target.  We previously tried to enforce this by
appending a cleanup action to every selector, however
this does not always work correctly due to an optimization
in the C++ unwinding runtime: if only cleanups would be
run while unwinding an exception, then the program just
terminates without actually executing the cleanups, as
invoke semantics would require.  I was hoping this
wouldn't be a problem, but in fact it turns out to be the
cause of all the remaining failures in the LLVM testsuite
(these also fail with -enable-correct-eh-support, so turning
on -enable-eh didn't make things worse!).  Instead we need
to append a full-blown catch-all to the end of each
selector.  The correct way of doing this depends on the
personality function, i.e. it is language dependent, so
can only be done by gcc.  Thus this patch which generalizes
the eh.selector intrinsic so that it can handle all possible
kinds of action table entries (before it didn't accomodate
cleanups): now 0 indicates a cleanup, and filters have to be
specified using the number of type infos plus one rather than
the number of type infos.  Related gcc patches will cause
Ada to pass a cleanup (0) to force the selector to always
fire, while C++ will use a C++ catch-all (null).

llvm-svn: 41484
2007-08-27 15:47:50 +00:00
..
CommandGuide Who thought up this crazy formatting scheme? 2007-08-07 17:57:36 +00:00
HistoricalNotes
img
AliasAnalysis.html note where to get steens-aa and ds-aa 2007-07-03 04:41:50 +00:00
BitCodeFormat.html add initial description of llvm top-level stuff. 2007-05-13 01:39:44 +00:00
Bugpoint.html first pass of nomenclature changes in .html files 2007-07-06 22:07:22 +00:00
CFEBuildInstrs.html Small change. 2007-07-23 03:56:42 +00:00
CodeGenerator.html first pass of nomenclature changes in .html files 2007-07-06 22:07:22 +00:00
CodingStandards.html Subversionify the documentation. 2007-07-09 08:04:31 +00:00
CommandLine.html Document boolOrDefault and its parser. 2007-05-22 18:32:34 +00:00
CompilerDriver.html first pass of nomenclature changes in .html files 2007-07-06 22:07:22 +00:00
CompilerWriterInfo.html
DeveloperPolicy.html Subversionify the documentation. 2007-07-09 08:04:31 +00:00
doxygen.cfg.in Comment out configuration tags not supported by doxygen 1.3.9 2007-08-05 19:51:03 +00:00
doxygen.css
doxygen.footer
doxygen.header
doxygen.intro
ExceptionHandling.html There is an impedance matching problem between LLVM and 2007-08-27 15:47:50 +00:00
ExtendingLLVM.html first pass of nomenclature changes in .html files 2007-07-06 22:07:22 +00:00
FAQ.html Subversionify the documentation. 2007-07-09 08:04:31 +00:00
GarbageCollection.html Provide link. 2007-04-18 17:26:14 +00:00
GetElementPtr.html
GettingStarted.html Fix validation errors 2007-07-16 08:52:56 +00:00
GettingStartedVS.html Subversionify the documentation. 2007-07-09 08:04:31 +00:00
HowToReleaseLLVM.html test commit 2007-07-25 06:15:23 +00:00
HowToSubmitABug.html Subversionify the documentation. 2007-07-09 08:04:31 +00:00
index.html Update links to the command guide generated documentation. 2007-08-05 23:43:44 +00:00
LangRef.html Implement review feedback on trampoline documentation. 2007-08-22 23:39:54 +00:00
Lexicon.html
LinkTimeOptimization.html Rename llvm-gcc4 to llvm-gcc. 2007-08-24 23:23:23 +00:00
llvm.css
Makefile Subversionify the documentation. 2007-07-09 08:04:31 +00:00
MakefileGuide.html first pass of nomenclature changes in .html files 2007-07-06 22:07:22 +00:00
Passes.html first pass of nomenclature changes in .html files 2007-07-06 22:07:22 +00:00
ProgrammersManual.html first pass of nomenclature changes in .html files 2007-07-06 22:07:22 +00:00
Projects.html Subversionify the documentation. 2007-07-09 08:04:31 +00:00
ReleaseNotes.html Subversionify the documentation. 2007-07-09 08:04:31 +00:00
SourceLevelDebugging.html Fix typos. 2007-06-14 11:27:07 +00:00
Stacker.html Subversionify the documentation. 2007-07-09 08:04:31 +00:00
SystemLibrary.html
TableGenFundamentals.html
TestingGuide.html Subversionify the documentation. 2007-07-09 08:04:31 +00:00
UsingLibraries.html first pass of nomenclature changes in .html files 2007-07-06 22:07:22 +00:00
WritingAnLLVMBackend.html
WritingAnLLVMPass.html Fix example code. 2007-07-25 21:05:39 +00:00