aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodePlacementOpt.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-05-08 00:11:50 +0000
committerChris Lattner <sabre@nondot.org>2009-05-08 00:11:50 +0000
commitb6e9eb695601b3cb39ab88317aa6fd6d304f4c6e (patch)
treec0dae8c0b34808222bfe78eeaacc2deccd7a8fa5 /llvm/lib/CodeGen/CodePlacementOpt.cpp
parente20be4183c3a87a1115917f673c503e2e0e462ab (diff)
downloadllvm-b6e9eb695601b3cb39ab88317aa6fd6d304f4c6e.zip
llvm-b6e9eb695601b3cb39ab88317aa6fd6d304f4c6e.tar.gz
llvm-b6e9eb695601b3cb39ab88317aa6fd6d304f4c6e.tar.bz2
initial support for ObjC exceptions with the GNU runtime:
"This patch is a first pass at adding support for exceptions for the GNU runtime. There are a few limitations at present: - @synchronized() is not yet supported at all. gcc currently emits calls to runtime library functions that don't exist for this directive. - Only id @catch statements are currently working. This is enough for NS_DURING and friends, but I need to spend more time reading the output from gcc -S to work out how it finds the class pointer to make arbitrary class type catch statements work. - I've tested it with a few common cases[1] and the clang test suite (which doesn't test exceptions for the GNU runtime, but shows I haven't broken anything else), but there are probably a lot of cases I've missed." Patch by David Chisnall! llvm-svn: 71198
Diffstat (limited to 'llvm/lib/CodeGen/CodePlacementOpt.cpp')
0 files changed, 0 insertions, 0 deletions