This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Use types_compatible_p in get_binfo_at_offset


> seems to bring a lot of positives and by quick inspection most of them seem
> like same classes.  I will try to find some time to debug this more. But
> glancing over the the dumps, I see many of them just have different name
> spaces.  Do we even attempt to merge namespace_decl? How types from same
> namespaces in different units are supposed to match?
Just as example
 <record_type 0x7ff129ff6bd0 X86Assembler addressable needs-constructing BLK
    size <integer_cst 0x7ff136ee2760 type <integer_type 0x7ff1370af0a8 bitsizetype> constant 2368>
    unit size <integer_cst 0x7ff136ee2780 type <integer_type 0x7ff1370af000 sizetype> constant 296>
    align 64 symtab 0 alias set -1 canonical type 0x7ff136efc498
    fields <field_decl 0x7ff129fe2850 D.752229
        type <record_type 0x7ff129ff6150 GenericAssembler needs-constructing TI
            size <integer_cst 0x7ff13709eda0 constant 128>
            unit size <integer_cst 0x7ff13709edc0 constant 16>
            align 64 symtab 0 alias set -1 canonical type 0x7ff136ec6b28 fields <field_decl 0x7ff129fe2098 printer> context <namespace_decl 0x7ff129e45e60 JSC>
            pointer_to_this <pointer_type 0x7ff129c7f888> chain <type_decl 0x7ff129fd7e60 GenericAssembler>>
        ignored TI file /abuild/jh/mozilla-central2/mozilla-central/js/src/assembler/assembler/X86Assembler.h line 140 col 7
        size <integer_cst 0x7ff137227400 constant 72>
        unit size <integer_cst 0x7ff136eb50a0 constant 9>
        align 64 offset_align 128
        offset <integer_cst 0x7ff13709ed60 constant 0>
        bit offset <integer_cst 0x7ff13709ede0 constant 0> context <record_type 0x7ff129ff6bd0 X86Assembler>
        chain <field_decl 0x7ff129fe28e8 m_formatter type <record_type 0x7ff129ff6b28 X86InstructionFormatter>
            used private nonlocal BLK file /abuild/jh/mozilla-central2/mozilla-central/js/src/assembler/assembler/X86Assembler.h line 3207 col 7
            size <integer_cst 0x7ff136e64d00 constant 2240>
            unit size <integer_cst 0x7ff136e64d20 constant 280>
            align 64 offset_align 128 offset <integer_cst 0x7ff13709edc0 16> bit offset <integer_cst 0x7ff13709ede0 0> context <record_type 0x7ff129ff6bd0 X86Assembler> chain <type_decl 0x7ff129ff75c0 X86Assembler>>> context <namespace_decl 0x7ff129e45e60 JSC>
    pointer_to_this <pointer_type 0x7ff129c7fa80> chain <type_decl 0x7ff129ff7508 X86Assembler>>
 <record_type 0x7ff12c9e7690 X86Assembler addressable needs-constructing BLK
    size <integer_cst 0x7ff136ee2760 type <integer_type 0x7ff1370af0a8 bitsizetype> constant 2368>
    unit size <integer_cst 0x7ff136ee2780 type <integer_type 0x7ff1370af000 sizetype> constant 296>
    align 64 symtab 0 alias set -1 canonical type 0x7ff136efc498
    fields <field_decl 0x7ff12db56000 D.789661
        type <record_type 0x7ff12e6b4000 GenericAssembler needs-constructing TI
            size <integer_cst 0x7ff13709eda0 constant 128>
            unit size <integer_cst 0x7ff13709edc0 constant 16>
            align 64 symtab 0 alias set -1 canonical type 0x7ff136ec6b28 fields <field_decl 0x7ff12c72e8e8 printer> context <namespace_decl 0x7ff1315587e8 JSC>
            pointer_to_this <pointer_type 0x7ff12c6cb738> chain <type_decl 0x7ff13155f228 GenericAssembler>>
        ignored TI file /abuild/jh/mozilla-central2/mozilla-central/js/src/assembler/assembler/X86Assembler.h line 140 col 0
        size <integer_cst 0x7ff137227400 constant 72>
        unit size <integer_cst 0x7ff136eb50a0 constant 9>
        align 64 offset_align 128
        offset <integer_cst 0x7ff13709ed60 constant 0>
        bit offset <integer_cst 0x7ff13709ede0 constant 0> context <record_type 0x7ff12c9e7690 X86Assembler>
        chain <field_decl 0x7ff12db56098 m_formatter type <record_type 0x7ff12c9e75e8 X86InstructionFormatter>
            used private nonlocal BLK file /abuild/jh/mozilla-central2/mozilla-central/js/src/assembler/assembler/X86Assembler.h line 3207 col 0
            size <integer_cst 0x7ff136e64d00 constant 2240>
            unit size <integer_cst 0x7ff136e64d20 constant 280>
            align 64 offset_align 128 offset <integer_cst 0x7ff13709edc0 16> bit offset <integer_cst 0x7ff13709ede0 0> context <record_type 0x7ff12c9e7690 X86Assembler> chain <type_decl 0x7ff12c673678 X86Assembler>>> context <namespace_decl 0x7ff1315587e8 JSC>
    pointer_to_this <pointer_type 0x7ff12c6cbf18> chain <type_decl 0x7ff12c6732e0 X86Assembler>>

Honza
> 
> Honza
> > 
> > Richard.
> > 
> > >Honza
> > 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]