r233594 - Add driver support for Native Client SDK
dschuff at google.com
Mon Jul 27 15:49:27 PDT 2015
It probably shouldn't be in the release notes.
Unfortunately not all of the backend changes for NaCl codegen are upstream
yet, so if you were to try to use upstream clang with a nacl target, it
wouldn't produce something you could use.
More generally, this clang frontend support is used to allow clang to
directly create architecture-specific Native Client modules (as opposed to
generating portable PNaCl modules and then translating them). We released
this support in our SDK earlier this year (
https://developer.chrome.com/native-client/sdk/release-notes) and it allows
users to replace our old gcc compiler (
Our branch with full NaCl support can be found at
https://chromium.googlesource.com/native_client/pnacl-llvm with build
instructions at https://www.chromium.org/nativeclient/pnacl/developing-pnacl
So the situation isn't significantly different from the way it was before
(NaCl support is partially but not fully upstream), but since clang now
recognizes the target I can see how it would appear different.
I'm hoping to do some more upstreaming soon for backend stuff, probably
starting with x86-32.
Do you think it's worth documenting this more fully somewhere on LLVM's
site? where would be a good place?
On Mon, Jul 27, 2015 at 3:25 PM Hans Wennborg <hans at chromium.org> wrote:
> Hi Derek,
> Should this be mentioned in the 3.7 release notes?
> I'm getting "does 3.7 support NaCl"-style questions. It would be great
> if the docs could clarify what this means.
> On Mon, Mar 30, 2015 at 1:31 PM, Derek Schuff <dschuff at google.com> wrote:
> > Author: dschuff
> > Date: Mon Mar 30 15:31:33 2015
> > New Revision: 233594
> > URL: http://llvm.org/viewvc/llvm-project?rev=233594&view=rev
> > Log:
> > Add driver support for Native Client SDK
> > Add Tool and ToolChain support for clang to target the NaCl OS using the
> > SDK for x86-32, x86-64 and ARM.
> > Includes nacltools::Assemble and Link which are derived from gnutools.
> > are similar to Linux but different enought that they warrant their own
> > Also includes a NaCl_TC in ToolChains derived from Generic_ELF with
> > and include paths suitable for an SDK and independent of the system
> > Differential Revision: http://reviews.llvm.org/D8590
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-commits