[cfe-commits] [patch][libc++] Conditionally include cxxabi.h in	new.cpp and typeinfo.cpp
    Andrew C. Morrow 
    andrew.c.morrow at gmail.com
       
    Thu Jul 26 08:37:38 PDT 2012
    
    
  
Both new.cpp and typeinfo.cpp have code that is conditionally compiled
based on the LIBCXXRT and _LIBCPPABI_VERSION defines, but those files
do not currently include <cxxabi.h> in the non __APPLE__ case. The
attached patch updates those files so that for non __APPLE__ builds
<cxxabi.h> is included if available or if LIBCXXRT is set. I'm
modeling this on the recent updates to exception.cpp.
Thanks,
Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libc++.abi.includes.patch
Type: application/octet-stream
Size: 1269 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120726/acbf4d19/attachment.obj>
    
    
More information about the cfe-commits
mailing list