[cfe-dev] ObjC builtin functions for GNU back end

David Chisnall csdavec at swansea.ac.uk
Mon Mar 30 08:07:10 PDT 2009


The current code in CGObjCGNU.cpp is incorrectly generating internal  
references to the ObjC runtime functions, so renaming in the IR  
generation can cause linkage problems.  This patch switches to using  
the CodeGenModule routines.

David

P.S. I notice that LLVM 2.5 has support for checking overflow (yay!)  
are there any plans to expose these in clang?  C1x will include  
support for overflow-tested operations, but the draft is not yet  
finalised.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang.diff
Type: application/octet-stream
Size: 3687 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20090330/00c99677/attachment.obj>


More information about the cfe-dev mailing list