linux-sparse.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
To: Dibyendu Majumdar <mobile@majumdar.org.uk>
Cc: linux-sparse@vger.kernel.org
Subject: Re: Sparse-llvm question
Date: Thu, 26 Jan 2017 18:47:31 +0100	[thread overview]
Message-ID: <20170126174731.jqnvuocad6hdvlky@macpro.local> (raw)
In-Reply-To: <CACXZuxeosx_qH3E5+gjnhx1czrSup5ZT0tm=kUqcp5u178twhA@mail.gmail.com>

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

      reply	other threads:[~2017-01-26 17:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-26 17:27 Sparse-llvm question Dibyendu Majumdar
2017-01-26 17:47 ` Luc Van Oostenryck [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170126174731.jqnvuocad6hdvlky@macpro.local \
    --to=luc.vanoostenryck@gmail.com \
    --cc=linux-sparse@vger.kernel.org \
    --cc=mobile@majumdar.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).