Re: [PATCH] sparse, llvm: Fix 'void *' pointer code generation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Mon, Oct 24, 2011 at 6:13 PM, Jeff Garzik <jeff@xxxxxxxxxx> wrote:
>> Thanks for pointing that out. Jeff, does this look OK?
>
> I don't know what bit_size==-1 means off the top of my head, so I assume yes

So

  void *p;

looks as follows with test-inspect:

  0: SYM_NODE: p
    ctype.base_type: SYM_PTR: <noident>
      ctype.base_type: SYM_BASETYPE: void

[ btw, is there a text mode version of test-inspect? ]

where the SYM_BASETYPE of 'void' has -1 set as bit_size by the frontend.

                        Pekka
--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Newbies FAQ]     [Kernel List]     [Site Home]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [DDR & Rambus]     [Trinity Fuzzer Tool]

Powered by Linux