[cfe-commits] [libcxxabi] r151282 - in /libcxxabi/trunk/src: private_typeinfo.cpp private_typeinfo.h

Howard Hinnant hhinnant at apple.com
Thu Feb 23 13:09:29 PST 2012


Author: hhinnant
Date: Thu Feb 23 15:09:29 2012
New Revision: 151282

URL: http://llvm.org/viewvc/llvm-project?rev=151282&view=rev
Log:
Insert a couple of dummy virtual functions to ease low level binary compatibility with other low level tools.

Modified:
    libcxxabi/trunk/src/private_typeinfo.cpp
    libcxxabi/trunk/src/private_typeinfo.h

Modified: libcxxabi/trunk/src/private_typeinfo.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/src/private_typeinfo.cpp?rev=151282&r1=151281&r2=151282&view=diff
==============================================================================
--- libcxxabi/trunk/src/private_typeinfo.cpp (original)
+++ libcxxabi/trunk/src/private_typeinfo.cpp Thu Feb 23 15:09:29 2012
@@ -20,6 +20,9 @@
 {
 }
 
+void __shim_type_info::noop1() const {}
+void __shim_type_info::noop2() const {}
+
 // __fundamental_type_info
 
 // This miraculously (compiler magic) emits the type_info's for:

Modified: libcxxabi/trunk/src/private_typeinfo.h
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/src/private_typeinfo.h?rev=151282&r1=151281&r2=151282&view=diff
==============================================================================
--- libcxxabi/trunk/src/private_typeinfo.h (original)
+++ libcxxabi/trunk/src/private_typeinfo.h Thu Feb 23 15:09:29 2012
@@ -24,6 +24,8 @@
 public:
     virtual ~__shim_type_info();
 
+    virtual void noop1() const;
+    virtual void noop2() const;
     virtual bool can_catch(const __shim_type_info* thrown_type, void*& adjustedPtr) const = 0;
 };
 





More information about the cfe-commits mailing list