Re: sparse-llvm potential error in linearized output

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

 



On 12 March 2017 at 16:27, Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
> On Mar 12, 2017 6:04 AM, "Dibyendu Majumdar" <mobile@xxxxxxxxxxxxxxx> wrote:
>         load.64     %r3 <- 0[randomletters]
>
>
> Looks fine to me.
>
> You have a variable called randomletters, and it's a pointer to a char. That
> 64-bit load just loads that pointer value from the variable into %r3.
>
> The sparse linearized format only has one memory access model: load with
> constant offset. The base can either be a symbol address (like in this case)
> or a register.
>

Ok thanks.

Regards
Dibyendu
--
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



[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux