Re: Sparse-llvm question

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

 



On Thu, Jan 26, 2017 at 05:27:17PM +0000, Dibyendu Majumdar wrote:
> Hi
> 
> I am hoping to reuse the Sparse-llvm component as a JIT compiler for C
> in an application.
Interesting.

>I was playing around with it a bit and hit an
> immediate issue. For instance compilation of a simple program like
> this fails:
> 
> const char ident[] = "";
> 
> Is there a list of what works and what doesn't anywhere?
> 
> Thanks and Regards
> Dibyendu

I think that sparse-llvm have always been very experimental.
Here you can see that initialization of arrays is not implemented
but simple variable is, so the following seems to be fine:
	const char *ident = "";


Regards,
Luc Van Oostenryck
--
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