[llvm-commits] CVS: llvm-gcc/gcc/config/ia64/ia64.h

Chris Lattner lattner at cs.uiuc.edu
Fri Jul 16 18:57:37 PDT 2004



Changes in directory llvm-gcc/gcc/config/ia64:

ia64.h updated: 1.1.1.1 -> 1.2

---
Log message:

Hack to get vtables working with LLVM.  This breaks ABI compliance with the
standard C++ compilers, but it should work for now.


---
Diffs of the changes:  (+2 -0)

Index: llvm-gcc/gcc/config/ia64/ia64.h
diff -u llvm-gcc/gcc/config/ia64/ia64.h:1.1.1.1 llvm-gcc/gcc/config/ia64/ia64.h:1.2
--- llvm-gcc/gcc/config/ia64/ia64.h:1.1.1.1	Thu Jan  8 15:58:50 2004
+++ llvm-gcc/gcc/config/ia64/ia64.h	Fri Jul 16 20:57:26 2004
@@ -390,6 +390,7 @@
    For reasons known only to HP, the vtable entries (as opposed to
    normal function descriptors) are 16 bytes wide in 32-bit mode as
    well, even though the 3rd and 4th words are unused.  */
+#if 0 /* FIXME: DISABLED BY LLVM */
 #define TARGET_VTABLE_USES_DESCRIPTORS (TARGET_ILP32 ? 4 : 2)
 
 /* Due to silliness in the HPUX linker, vtable entries must be
@@ -400,6 +401,7 @@
 /* Due to the above, we need extra padding for the data entries below 0
    to retain the alignment of the descriptors.  */
 #define TARGET_VTABLE_DATA_ENTRY_DISTANCE (TARGET_ILP32 ? 2 : 1)
+#endif  /* end of fixme */
 
 /* Layout of Source Language Data Types */
 





More information about the llvm-commits mailing list