diff options
Diffstat (limited to 'test/tools/llvm-cxxdump')
-rw-r--r-- | test/tools/llvm-cxxdump/Inputs/eh.obj.coff-i386 | bin | 0 -> 7388 bytes | |||
-rw-r--r-- | test/tools/llvm-cxxdump/Inputs/trivial.obj.coff-i386 | bin | 0 -> 2938 bytes | |||
-rw-r--r-- | test/tools/llvm-cxxdump/Inputs/trivial.obj.elf-i386 | bin | 0 -> 1032 bytes | |||
-rw-r--r-- | test/tools/llvm-cxxdump/eh.test | 258 | ||||
-rw-r--r-- | test/tools/llvm-cxxdump/trivial.test | 58 |
5 files changed, 316 insertions, 0 deletions
diff --git a/test/tools/llvm-cxxdump/Inputs/eh.obj.coff-i386 b/test/tools/llvm-cxxdump/Inputs/eh.obj.coff-i386 Binary files differnew file mode 100644 index 0000000..f34a079 --- /dev/null +++ b/test/tools/llvm-cxxdump/Inputs/eh.obj.coff-i386 diff --git a/test/tools/llvm-cxxdump/Inputs/trivial.obj.coff-i386 b/test/tools/llvm-cxxdump/Inputs/trivial.obj.coff-i386 Binary files differnew file mode 100644 index 0000000..3b93955 --- /dev/null +++ b/test/tools/llvm-cxxdump/Inputs/trivial.obj.coff-i386 diff --git a/test/tools/llvm-cxxdump/Inputs/trivial.obj.elf-i386 b/test/tools/llvm-cxxdump/Inputs/trivial.obj.elf-i386 Binary files differnew file mode 100644 index 0000000..1a5c929 --- /dev/null +++ b/test/tools/llvm-cxxdump/Inputs/trivial.obj.elf-i386 diff --git a/test/tools/llvm-cxxdump/eh.test b/test/tools/llvm-cxxdump/eh.test new file mode 100644 index 0000000..b323b05 --- /dev/null +++ b/test/tools/llvm-cxxdump/eh.test @@ -0,0 +1,258 @@ +RUN: llvm-cxxdump %p/Inputs/eh.obj.coff-i386 \ +RUN: | FileCheck %s --check-prefix=COFF-I386 + + +COFF-I386: ??_R0?AUA@@@8[VFPtr]: ??_7type_info@@6B@ +COFF-I386: ??_R0?AUA@@@8[AlwaysZero]: 0 +COFF-I386: ??_R0?AUA@@@8[MangledName]: .?AUA@@ +COFF-I386: ??_R0?AUB@@@8[VFPtr]: ??_7type_info@@6B@ +COFF-I386: ??_R0?AUB@@@8[AlwaysZero]: 0 +COFF-I386: ??_R0?AUB@@@8[MangledName]: .?AUB@@ +COFF-I386: ??_R0?AUC@@@8[VFPtr]: ??_7type_info@@6B@ +COFF-I386: ??_R0?AUC@@@8[AlwaysZero]: 0 +COFF-I386: ??_R0?AUC@@@8[MangledName]: .?AUC@@ +COFF-I386: ??_R0?AUM@@@8[VFPtr]: ??_7type_info@@6B@ +COFF-I386: ??_R0?AUM@@@8[AlwaysZero]: 0 +COFF-I386: ??_R0?AUM@@@8[MangledName]: .?AUM@@ +COFF-I386: ??_R0?AUS@@@8[VFPtr]: ??_7type_info@@6B@ +COFF-I386: ??_R0?AUS@@@8[AlwaysZero]: 0 +COFF-I386: ??_R0?AUS@@@8[MangledName]: .?AUS@@ +COFF-I386: ??_R0?AW4E@@@8[VFPtr]: ??_7type_info@@6B@ +COFF-I386: ??_R0?AW4E@@@8[AlwaysZero]: 0 +COFF-I386: ??_R0?AW4E@@@8[MangledName]: .?AW4E@@ +COFF-I386: ??_R0PAUA@@@8[VFPtr]: ??_7type_info@@6B@ +COFF-I386: ??_R0PAUA@@@8[AlwaysZero]: 0 +COFF-I386: ??_R0PAUA@@@8[MangledName]: .PAUA@@ +COFF-I386: ??_R0PAUC@@@8[VFPtr]: ??_7type_info@@6B@ +COFF-I386: ??_R0PAUC@@@8[AlwaysZero]: 0 +COFF-I386: ??_R0PAUC@@@8[MangledName]: .PAUC@@ +COFF-I386: ??_R0PAUS@@@8[VFPtr]: ??_7type_info@@6B@ +COFF-I386: ??_R0PAUS@@@8[AlwaysZero]: 0 +COFF-I386: ??_R0PAUS@@@8[MangledName]: .PAUS@@ +COFF-I386: ??_R0PAW4E@@@8[VFPtr]: ??_7type_info@@6B@ +COFF-I386: ??_R0PAW4E@@@8[AlwaysZero]: 0 +COFF-I386: ??_R0PAW4E@@@8[MangledName]: .PAW4E@@ +COFF-I386: ??_R0PAX@8[VFPtr]: ??_7type_info@@6B@ +COFF-I386: ??_R0PAX@8[AlwaysZero]: 0 +COFF-I386: ??_R0PAX@8[MangledName]: .PAX +COFF-I386: ??_R0PQS@@H@8[VFPtr]: ??_7type_info@@6B@ +COFF-I386: ??_R0PQS@@H@8[AlwaysZero]: 0 +COFF-I386: ??_R0PQS@@H@8[MangledName]: .PQS@@H +COFF-I386: __TI1?AW4E@@[Flags]: 0 +COFF-I386: __TI1?AW4E@@[Flags.Const]: false +COFF-I386: __TI1?AW4E@@[Flags.Volatile]: false +COFF-I386: __TI1?AW4E@@[CleanupFn]: null +COFF-I386: __TI1?AW4E@@[ForwardCompat]: null +COFF-I386: __TI1?AW4E@@[CatchableTypeArray]: __CTA1?AW4E@@ +COFF-I386: __TI1PQS@@H[Flags]: 0 +COFF-I386: __TI1PQS@@H[Flags.Const]: false +COFF-I386: __TI1PQS@@H[Flags.Volatile]: false +COFF-I386: __TI1PQS@@H[CleanupFn]: null +COFF-I386: __TI1PQS@@H[ForwardCompat]: null +COFF-I386: __TI1PQS@@H[CatchableTypeArray]: __CTA1PQS@@H +COFF-I386: __TI2CPAW4E@@[Flags]: 1 +COFF-I386: __TI2CPAW4E@@[Flags.Const]: true +COFF-I386: __TI2CPAW4E@@[Flags.Volatile]: false +COFF-I386: __TI2CPAW4E@@[CleanupFn]: null +COFF-I386: __TI2CPAW4E@@[ForwardCompat]: null +COFF-I386: __TI2CPAW4E@@[CatchableTypeArray]: __CTA2PAW4E@@ +COFF-I386: __TI2CVPAW4E@@[Flags]: 3 +COFF-I386: __TI2CVPAW4E@@[Flags.Const]: true +COFF-I386: __TI2CVPAW4E@@[Flags.Volatile]: true +COFF-I386: __TI2CVPAW4E@@[CleanupFn]: null +COFF-I386: __TI2CVPAW4E@@[ForwardCompat]: null +COFF-I386: __TI2CVPAW4E@@[CatchableTypeArray]: __CTA2PAW4E@@ +COFF-I386: __TI2PAW4E@@[Flags]: 0 +COFF-I386: __TI2PAW4E@@[Flags.Const]: false +COFF-I386: __TI2PAW4E@@[Flags.Volatile]: false +COFF-I386: __TI2PAW4E@@[CleanupFn]: null +COFF-I386: __TI2PAW4E@@[ForwardCompat]: null +COFF-I386: __TI2PAW4E@@[CatchableTypeArray]: __CTA2PAW4E@@ +COFF-I386: __TI2PAX[Flags]: 0 +COFF-I386: __TI2PAX[Flags.Const]: false +COFF-I386: __TI2PAX[Flags.Volatile]: false +COFF-I386: __TI2PAX[CleanupFn]: null +COFF-I386: __TI2PAX[ForwardCompat]: null +COFF-I386: __TI2PAX[CatchableTypeArray]: __CTA2PAX +COFF-I386: __TI2VPAW4E@@[Flags]: 2 +COFF-I386: __TI2VPAW4E@@[Flags.Const]: false +COFF-I386: __TI2VPAW4E@@[Flags.Volatile]: true +COFF-I386: __TI2VPAW4E@@[CleanupFn]: null +COFF-I386: __TI2VPAW4E@@[ForwardCompat]: null +COFF-I386: __TI2VPAW4E@@[CatchableTypeArray]: __CTA2PAW4E@@ +COFF-I386: __TI3?AUM@@[Flags]: 0 +COFF-I386: __TI3?AUM@@[Flags.Const]: false +COFF-I386: __TI3?AUM@@[Flags.Volatile]: false +COFF-I386: __TI3?AUM@@[CleanupFn]: null +COFF-I386: __TI3?AUM@@[ForwardCompat]: null +COFF-I386: __TI3?AUM@@[CatchableTypeArray]: __CTA3?AUM@@ +COFF-I386: __TI3?AUS@@[Flags]: 0 +COFF-I386: __TI3?AUS@@[Flags.Const]: false +COFF-I386: __TI3?AUS@@[Flags.Volatile]: false +COFF-I386: __TI3?AUS@@[CleanupFn]: ??1S@@UAE@XZ +COFF-I386: __TI3?AUS@@[ForwardCompat]: null +COFF-I386: __TI3?AUS@@[CatchableTypeArray]: __CTA3?AUS@@ +COFF-I386: __TI4CPAUS@@[Flags]: 1 +COFF-I386: __TI4CPAUS@@[Flags.Const]: true +COFF-I386: __TI4CPAUS@@[Flags.Volatile]: false +COFF-I386: __TI4CPAUS@@[CleanupFn]: null +COFF-I386: __TI4CPAUS@@[ForwardCompat]: null +COFF-I386: __TI4CPAUS@@[CatchableTypeArray]: __CTA4PAUS@@ +COFF-I386: __TI4CVPAUS@@[Flags]: 3 +COFF-I386: __TI4CVPAUS@@[Flags.Const]: true +COFF-I386: __TI4CVPAUS@@[Flags.Volatile]: true +COFF-I386: __TI4CVPAUS@@[CleanupFn]: null +COFF-I386: __TI4CVPAUS@@[ForwardCompat]: null +COFF-I386: __TI4CVPAUS@@[CatchableTypeArray]: __CTA4PAUS@@ +COFF-I386: __TI4PAUS@@[Flags]: 0 +COFF-I386: __TI4PAUS@@[Flags.Const]: false +COFF-I386: __TI4PAUS@@[Flags.Volatile]: false +COFF-I386: __TI4PAUS@@[CleanupFn]: null +COFF-I386: __TI4PAUS@@[ForwardCompat]: null +COFF-I386: __TI4PAUS@@[CatchableTypeArray]: __CTA4PAUS@@ +COFF-I386: __TI4VPAUS@@[Flags]: 2 +COFF-I386: __TI4VPAUS@@[Flags.Const]: false +COFF-I386: __TI4VPAUS@@[Flags.Volatile]: true +COFF-I386: __TI4VPAUS@@[CleanupFn]: null +COFF-I386: __TI4VPAUS@@[ForwardCompat]: null +COFF-I386: __TI4VPAUS@@[CatchableTypeArray]: __CTA4PAUS@@ +COFF-I386: __CTA1?AW4E@@[NumEntries]: 1 +COFF-I386: __CTA1?AW4E@@[0]: __CT??_R0?AW4E@@@84 +COFF-I386: __CTA1PQS@@H[NumEntries]: 1 +COFF-I386: __CTA1PQS@@H[0]: __CT??_R0PQS@@H@88 +COFF-I386: __CTA2PAW4E@@[NumEntries]: 2 +COFF-I386: __CTA2PAW4E@@[0]: __CT??_R0PAW4E@@@84 +COFF-I386: __CTA2PAW4E@@[1]: __CT??_R0PAX@84 +COFF-I386: __CTA2PAX[NumEntries]: 2 +COFF-I386: __CTA2PAX[0]: __CT??_R0PAX@84 +COFF-I386: __CTA2PAX[1]: __CT??_R0PAX@84 +COFF-I386: __CTA3?AUM@@[NumEntries]: 3 +COFF-I386: __CTA3?AUM@@[0]: __CT??_R0?AUM@@@88 +COFF-I386: __CTA3?AUM@@[1]: __CT??_R0?AUA@@@84 +COFF-I386: __CTA3?AUM@@[2]: __CT??_R0?AUB@@@844 +COFF-I386: __CTA3?AUS@@[NumEntries]: 3 +COFF-I386: __CTA3?AUS@@[0]: __CT??_R0?AUS@@@8??0S@@QAE@ABU0@@Z16 +COFF-I386: __CTA3?AUS@@[1]: __CT??_R0?AUA@@@84044 +COFF-I386: __CTA3?AUS@@[2]: __CT??_R0?AUC@@@84048 +COFF-I386: __CTA4PAUS@@[NumEntries]: 4 +COFF-I386: __CTA4PAUS@@[0]: __CT??_R0PAUS@@@84 +COFF-I386: __CTA4PAUS@@[1]: __CT??_R0PAUA@@@84044 +COFF-I386: __CTA4PAUS@@[2]: __CT??_R0PAUC@@@84048 +COFF-I386: __CTA4PAUS@@[3]: __CT??_R0PAX@84 +COFF-I386: __CT??_R0?AUA@@@84[Flags]: 0 +COFF-I386: __CT??_R0?AUA@@@84[Flags.ScalarType]: false +COFF-I386: __CT??_R0?AUA@@@84[Flags.VirtualInheritance]: false +COFF-I386: __CT??_R0?AUA@@@84[TypeDescriptor]: ??_R0?AUA@@@8 +COFF-I386: __CT??_R0?AUA@@@84[NonVirtualBaseAdjustmentOffset]: 0 +COFF-I386: __CT??_R0?AUA@@@84[VirtualBasePointerOffset]: -1 +COFF-I386: __CT??_R0?AUA@@@84[VirtualBaseAdjustmentOffset]: 0 +COFF-I386: __CT??_R0?AUA@@@84[Size]: 4 +COFF-I386: __CT??_R0?AUA@@@84[CopyCtor]: null +COFF-I386: __CT??_R0?AUA@@@84044[Flags]: 0 +COFF-I386: __CT??_R0?AUA@@@84044[Flags.ScalarType]: false +COFF-I386: __CT??_R0?AUA@@@84044[Flags.VirtualInheritance]: false +COFF-I386: __CT??_R0?AUA@@@84044[TypeDescriptor]: ??_R0?AUA@@@8 +COFF-I386: __CT??_R0?AUA@@@84044[NonVirtualBaseAdjustmentOffset]: 0 +COFF-I386: __CT??_R0?AUA@@@84044[VirtualBasePointerOffset]: 4 +COFF-I386: __CT??_R0?AUA@@@84044[VirtualBaseAdjustmentOffset]: 4 +COFF-I386: __CT??_R0?AUA@@@84044[Size]: 4 +COFF-I386: __CT??_R0?AUA@@@84044[CopyCtor]: null +COFF-I386: __CT??_R0?AUB@@@844[Flags]: 0 +COFF-I386: __CT??_R0?AUB@@@844[Flags.ScalarType]: false +COFF-I386: __CT??_R0?AUB@@@844[Flags.VirtualInheritance]: false +COFF-I386: __CT??_R0?AUB@@@844[TypeDescriptor]: ??_R0?AUB@@@8 +COFF-I386: __CT??_R0?AUB@@@844[NonVirtualBaseAdjustmentOffset]: 4 +COFF-I386: __CT??_R0?AUB@@@844[VirtualBasePointerOffset]: -1 +COFF-I386: __CT??_R0?AUB@@@844[VirtualBaseAdjustmentOffset]: 0 +COFF-I386: __CT??_R0?AUB@@@844[Size]: 4 +COFF-I386: __CT??_R0?AUB@@@844[CopyCtor]: null +COFF-I386: __CT??_R0?AUC@@@84048[Flags]: 0 +COFF-I386: __CT??_R0?AUC@@@84048[Flags.ScalarType]: false +COFF-I386: __CT??_R0?AUC@@@84048[Flags.VirtualInheritance]: false +COFF-I386: __CT??_R0?AUC@@@84048[TypeDescriptor]: ??_R0?AUC@@@8 +COFF-I386: __CT??_R0?AUC@@@84048[NonVirtualBaseAdjustmentOffset]: 0 +COFF-I386: __CT??_R0?AUC@@@84048[VirtualBasePointerOffset]: 4 +COFF-I386: __CT??_R0?AUC@@@84048[VirtualBaseAdjustmentOffset]: 8 +COFF-I386: __CT??_R0?AUC@@@84048[Size]: 4 +COFF-I386: __CT??_R0?AUC@@@84048[CopyCtor]: null +COFF-I386: __CT??_R0?AUM@@@88[Flags]: 0 +COFF-I386: __CT??_R0?AUM@@@88[Flags.ScalarType]: false +COFF-I386: __CT??_R0?AUM@@@88[Flags.VirtualInheritance]: false +COFF-I386: __CT??_R0?AUM@@@88[TypeDescriptor]: ??_R0?AUM@@@8 +COFF-I386: __CT??_R0?AUM@@@88[NonVirtualBaseAdjustmentOffset]: 0 +COFF-I386: __CT??_R0?AUM@@@88[VirtualBasePointerOffset]: -1 +COFF-I386: __CT??_R0?AUM@@@88[VirtualBaseAdjustmentOffset]: 0 +COFF-I386: __CT??_R0?AUM@@@88[Size]: 8 +COFF-I386: __CT??_R0?AUM@@@88[CopyCtor]: null +COFF-I386: __CT??_R0?AUS@@@8??0S@@QAE@ABU0@@Z16[Flags]: 4 +COFF-I386: __CT??_R0?AUS@@@8??0S@@QAE@ABU0@@Z16[Flags.ScalarType]: false +COFF-I386: __CT??_R0?AUS@@@8??0S@@QAE@ABU0@@Z16[Flags.VirtualInheritance]: true +COFF-I386: __CT??_R0?AUS@@@8??0S@@QAE@ABU0@@Z16[TypeDescriptor]: ??_R0?AUS@@@8 +COFF-I386: __CT??_R0?AUS@@@8??0S@@QAE@ABU0@@Z16[NonVirtualBaseAdjustmentOffset]: 0 +COFF-I386: __CT??_R0?AUS@@@8??0S@@QAE@ABU0@@Z16[VirtualBasePointerOffset]: -1 +COFF-I386: __CT??_R0?AUS@@@8??0S@@QAE@ABU0@@Z16[VirtualBaseAdjustmentOffset]: 0 +COFF-I386: __CT??_R0?AUS@@@8??0S@@QAE@ABU0@@Z16[Size]: 16 +COFF-I386: __CT??_R0?AUS@@@8??0S@@QAE@ABU0@@Z16[CopyCtor]: ??0S@@QAE@ABU0@@Z +COFF-I386: __CT??_R0?AW4E@@@84[Flags]: 1 +COFF-I386: __CT??_R0?AW4E@@@84[Flags.ScalarType]: true +COFF-I386: __CT??_R0?AW4E@@@84[Flags.VirtualInheritance]: false +COFF-I386: __CT??_R0?AW4E@@@84[TypeDescriptor]: ??_R0?AW4E@@@8 +COFF-I386: __CT??_R0?AW4E@@@84[NonVirtualBaseAdjustmentOffset]: 0 +COFF-I386: __CT??_R0?AW4E@@@84[VirtualBasePointerOffset]: -1 +COFF-I386: __CT??_R0?AW4E@@@84[VirtualBaseAdjustmentOffset]: 0 +COFF-I386: __CT??_R0?AW4E@@@84[Size]: 4 +COFF-I386: __CT??_R0?AW4E@@@84[CopyCtor]: null +COFF-I386: __CT??_R0PAUA@@@84044[Flags]: 1 +COFF-I386: __CT??_R0PAUA@@@84044[Flags.ScalarType]: true +COFF-I386: __CT??_R0PAUA@@@84044[Flags.VirtualInheritance]: false +COFF-I386: __CT??_R0PAUA@@@84044[TypeDescriptor]: ??_R0PAUA@@@8 +COFF-I386: __CT??_R0PAUA@@@84044[NonVirtualBaseAdjustmentOffset]: 0 +COFF-I386: __CT??_R0PAUA@@@84044[VirtualBasePointerOffset]: 4 +COFF-I386: __CT??_R0PAUA@@@84044[VirtualBaseAdjustmentOffset]: 4 +COFF-I386: __CT??_R0PAUA@@@84044[Size]: 4 +COFF-I386: __CT??_R0PAUA@@@84044[CopyCtor]: null +COFF-I386: __CT??_R0PAUC@@@84048[Flags]: 1 +COFF-I386: __CT??_R0PAUC@@@84048[Flags.ScalarType]: true +COFF-I386: __CT??_R0PAUC@@@84048[Flags.VirtualInheritance]: false +COFF-I386: __CT??_R0PAUC@@@84048[TypeDescriptor]: ??_R0PAUC@@@8 +COFF-I386: __CT??_R0PAUC@@@84048[NonVirtualBaseAdjustmentOffset]: 0 +COFF-I386: __CT??_R0PAUC@@@84048[VirtualBasePointerOffset]: 4 +COFF-I386: __CT??_R0PAUC@@@84048[VirtualBaseAdjustmentOffset]: 8 +COFF-I386: __CT??_R0PAUC@@@84048[Size]: 4 +COFF-I386: __CT??_R0PAUC@@@84048[CopyCtor]: null +COFF-I386: __CT??_R0PAUS@@@84[Flags]: 5 +COFF-I386: __CT??_R0PAUS@@@84[Flags.ScalarType]: true +COFF-I386: __CT??_R0PAUS@@@84[Flags.VirtualInheritance]: true +COFF-I386: __CT??_R0PAUS@@@84[TypeDescriptor]: ??_R0PAUS@@@8 +COFF-I386: __CT??_R0PAUS@@@84[NonVirtualBaseAdjustmentOffset]: 0 +COFF-I386: __CT??_R0PAUS@@@84[VirtualBasePointerOffset]: -1 +COFF-I386: __CT??_R0PAUS@@@84[VirtualBaseAdjustmentOffset]: 0 +COFF-I386: __CT??_R0PAUS@@@84[Size]: 4 +COFF-I386: __CT??_R0PAUS@@@84[CopyCtor]: null +COFF-I386: __CT??_R0PAW4E@@@84[Flags]: 1 +COFF-I386: __CT??_R0PAW4E@@@84[Flags.ScalarType]: true +COFF-I386: __CT??_R0PAW4E@@@84[Flags.VirtualInheritance]: false +COFF-I386: __CT??_R0PAW4E@@@84[TypeDescriptor]: ??_R0PAW4E@@@8 +COFF-I386: __CT??_R0PAW4E@@@84[NonVirtualBaseAdjustmentOffset]: 0 +COFF-I386: __CT??_R0PAW4E@@@84[VirtualBasePointerOffset]: -1 +COFF-I386: __CT??_R0PAW4E@@@84[VirtualBaseAdjustmentOffset]: 0 +COFF-I386: __CT??_R0PAW4E@@@84[Size]: 4 +COFF-I386: __CT??_R0PAW4E@@@84[CopyCtor]: null +COFF-I386: __CT??_R0PAX@84[Flags]: 1 +COFF-I386: __CT??_R0PAX@84[Flags.ScalarType]: true +COFF-I386: __CT??_R0PAX@84[Flags.VirtualInheritance]: false +COFF-I386: __CT??_R0PAX@84[TypeDescriptor]: ??_R0PAX@8 +COFF-I386: __CT??_R0PAX@84[NonVirtualBaseAdjustmentOffset]: 0 +COFF-I386: __CT??_R0PAX@84[VirtualBasePointerOffset]: -1 +COFF-I386: __CT??_R0PAX@84[VirtualBaseAdjustmentOffset]: 0 +COFF-I386: __CT??_R0PAX@84[Size]: 4 +COFF-I386: __CT??_R0PAX@84[CopyCtor]: null +COFF-I386: __CT??_R0PQS@@H@88[Flags]: 1 +COFF-I386: __CT??_R0PQS@@H@88[Flags.ScalarType]: true +COFF-I386: __CT??_R0PQS@@H@88[Flags.VirtualInheritance]: false +COFF-I386: __CT??_R0PQS@@H@88[TypeDescriptor]: ??_R0PQS@@H@8 +COFF-I386: __CT??_R0PQS@@H@88[NonVirtualBaseAdjustmentOffset]: 0 +COFF-I386: __CT??_R0PQS@@H@88[VirtualBasePointerOffset]: -1 +COFF-I386: __CT??_R0PQS@@H@88[VirtualBaseAdjustmentOffset]: 0 +COFF-I386: __CT??_R0PQS@@H@88[Size]: 8 +COFF-I386: __CT??_R0PQS@@H@88[CopyCtor]: null diff --git a/test/tools/llvm-cxxdump/trivial.test b/test/tools/llvm-cxxdump/trivial.test new file mode 100644 index 0000000..450ed3b --- /dev/null +++ b/test/tools/llvm-cxxdump/trivial.test @@ -0,0 +1,58 @@ +RUN: llvm-cxxdump %p/Inputs/trivial.obj.coff-i386 \ +RUN: | FileCheck %s --check-prefix=COFF-I386 + +RUN: llvm-cxxdump %p/Inputs/trivial.obj.elf-i386 \ +RUN: | FileCheck %s --check-prefix=ELF-I386 + +COFF-I386: ??_7S@@6B@[0]: ??_R4S@@6B@ +COFF-I386-NEXT: ??_7S@@6B@[4]: ??_GS@@UAEPAXI@Z +COFF-I386-NEXT: ??_8S@@7B@[0]: -4 +COFF-I386-NEXT: ??_8S@@7B@[4]: 4 +COFF-I386-NEXT: ??_R4S@@6B@[IsImageRelative]: 0 +COFF-I386-NEXT: ??_R4S@@6B@[OffsetToTop]: 0 +COFF-I386-NEXT: ??_R4S@@6B@[VFPtrOffset]: 0 +COFF-I386-NEXT: ??_R4S@@6B@[TypeDescriptor]: ??_R0?AUS@@@8 +COFF-I386-NEXT: ??_R4S@@6B@[ClassHierarchyDescriptor]: ??_R3S@@8 +COFF-I386-NEXT: ??_R3A@@8[AlwaysZero]: 0 +COFF-I386-NEXT: ??_R3A@@8[Flags]: 0 +COFF-I386-NEXT: ??_R3A@@8[NumClasses]: 1 +COFF-I386-NEXT: ??_R3A@@8[BaseClassArray]: ??_R2A@@8 +COFF-I386-NEXT: ??_R3S@@8[AlwaysZero]: 0 +COFF-I386-NEXT: ??_R3S@@8[Flags]: 0 +COFF-I386-NEXT: ??_R3S@@8[NumClasses]: 2 +COFF-I386-NEXT: ??_R3S@@8[BaseClassArray]: ??_R2S@@8 +COFF-I386-NEXT: ??_R2A@@8[0]: ??_R1A@?0A@EA@A@@8 +COFF-I386-NEXT: ??_R2S@@8[0]: ??_R1A@?0A@EA@S@@8 +COFF-I386-NEXT: ??_R2S@@8[4]: ??_R1A@33FA@A@@8 +COFF-I386-NEXT: ??_R1A@33FA@A@@8[TypeDescriptor]: ??_R0?AUA@@@8 +COFF-I386-NEXT: ??_R1A@33FA@A@@8[NumBases]: 0 +COFF-I386-NEXT: ??_R1A@33FA@A@@8[OffsetInVBase]: 0 +COFF-I386-NEXT: ??_R1A@33FA@A@@8[VBPtrOffset]: 4 +COFF-I386-NEXT: ??_R1A@33FA@A@@8[OffsetInVBTable]: 4 +COFF-I386-NEXT: ??_R1A@33FA@A@@8[Flags]: 80 +COFF-I386-NEXT: ??_R1A@33FA@A@@8[ClassHierarchyDescriptor]: ??_R3A@@8 +COFF-I386-NEXT: ??_R1A@?0A@EA@A@@8[TypeDescriptor]: ??_R0?AUA@@@8 +COFF-I386-NEXT: ??_R1A@?0A@EA@A@@8[NumBases]: 0 +COFF-I386-NEXT: ??_R1A@?0A@EA@A@@8[OffsetInVBase]: 0 +COFF-I386-NEXT: ??_R1A@?0A@EA@A@@8[VBPtrOffset]: -1 +COFF-I386-NEXT: ??_R1A@?0A@EA@A@@8[OffsetInVBTable]: 0 +COFF-I386-NEXT: ??_R1A@?0A@EA@A@@8[Flags]: 64 +COFF-I386-NEXT: ??_R1A@?0A@EA@A@@8[ClassHierarchyDescriptor]: ??_R3A@@8 +COFF-I386-NEXT: ??_R1A@?0A@EA@S@@8[TypeDescriptor]: ??_R0?AUS@@@8 +COFF-I386-NEXT: ??_R1A@?0A@EA@S@@8[NumBases]: 1 +COFF-I386-NEXT: ??_R1A@?0A@EA@S@@8[OffsetInVBase]: 0 +COFF-I386-NEXT: ??_R1A@?0A@EA@S@@8[VBPtrOffset]: -1 +COFF-I386-NEXT: ??_R1A@?0A@EA@S@@8[OffsetInVBTable]: 0 +COFF-I386-NEXT: ??_R1A@?0A@EA@S@@8[Flags]: 64 +COFF-I386-NEXT: ??_R1A@?0A@EA@S@@8[ClassHierarchyDescriptor]: ??_R3S@@8 +COFF-I386-NEXT: ??_R0?AUA@@@8[VFPtr]: ??_7type_info@@6B@ +COFF-I386-NEXT: ??_R0?AUA@@@8[AlwaysZero]: 0 +COFF-I386-NEXT: ??_R0?AUA@@@8[MangledName]: .?AUA@@ +COFF-I386-NEXT: ??_R0?AUS@@@8[VFPtr]: ??_7type_info@@6B@ +COFF-I386-NEXT: ??_R0?AUS@@@8[AlwaysZero]: 0 +COFF-I386-NEXT: ??_R0?AUS@@@8[MangledName]: .?AUS@@ + +ELF-I386: _ZTS1A: 1A +ELF-I386-NEXT: _ZTV1A[0]: 0 +ELF-I386-NEXT: _ZTV1A[4]: _ZTI1A +ELF-I386-NEXT: _ZTV1A[8]: _ZN1A1fEv |