<div dir="ltr">Hi Hans,<div>It probably shouldn't be in the release notes.<br><div>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.</div></div><div><br></div><div>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 (<a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__developer.chrome.com_native-2Dclient_sdk_release-2Dnotes&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=znbr2Ey0zuMBgOeFxev8A1tgEECtCG8g5t1X75uY3yU&s=-wHE6lZ2XcXzvmGelUSmmz6Psm0O3JjFUVhfoz1x49c&e=">https://developer.chrome.com/native-client/sdk/release-notes</a>) and it allows users to replace our old gcc compiler (<a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_forum_-23-21topic_native-2Dclient-2Ddiscuss_J0-2DQDFZe3XE_discussion&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=znbr2Ey0zuMBgOeFxev8A1tgEECtCG8g5t1X75uY3yU&s=ViKiZBLuokVz-2YDpWZunFGwyo6AaxzKUQ0FD5IHYS0&e=">https://groups.google.com/forum/#!topic/native-client-discuss/J0-QDFZe3XE/discussion</a>).</div><div><br></div><div><span style="line-height:1.5;font-size:13.1999998092651px">Our branch with full NaCl support can be found at <a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__chromium.googlesource.com_native-5Fclient_pnacl-2Dllvm&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=znbr2Ey0zuMBgOeFxev8A1tgEECtCG8g5t1X75uY3yU&s=2vr4dq36JWekc0UNe9Iusnovf0qO7NrymvRQgLW6FtE&e=">https://chromium.googlesource.com/native_client/pnacl-llvm</a> with build instructions at <a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__www.chromium.org_nativeclient_pnacl_developing-2Dpnacl&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=znbr2Ey0zuMBgOeFxev8A1tgEECtCG8g5t1X75uY3yU&s=fo5Wi7_2x0UzoqFLSf0_Ny5T8vesUEnIsYF04qFOIvw&e=">https://www.chromium.org/nativeclient/pnacl/developing-pnacl</a></span><br></div><div><br></div><div><div style="font-size:13.1999998092651px;line-height:19.7999992370605px">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.</div></div><div>I'm hoping to do some more upstreaming soon for backend stuff, probably starting with x86-32.</div><div>Do you think it's worth documenting this more fully somewhere on LLVM's site? where would be a good place?</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Jul 27, 2015 at 3:25 PM Hans Wennborg <<a href="mailto:hans@chromium.org">hans@chromium.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Derek,<br>
<br>
Should this be mentioned in the 3.7 release notes?<br>
<br>
I'm getting "does 3.7 support NaCl"-style questions. It would be great<br>
if the docs could clarify what this means.<br>
<br>
Cheers,<br>
Hans<br>
<br>
On Mon, Mar 30, 2015 at 1:31 PM, Derek Schuff <<a href="mailto:dschuff@google.com" target="_blank">dschuff@google.com</a>> wrote:<br>
> Author: dschuff<br>
> Date: Mon Mar 30 15:31:33 2015<br>
> New Revision: 233594<br>
><br>
> URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject-3Frev-3D233594-26view-3Drev&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=znbr2Ey0zuMBgOeFxev8A1tgEECtCG8g5t1X75uY3yU&s=rWcZN0IXv66bz1kEFW18mqLoeEdZPUgsF_A6U0wdO04&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=233594&view=rev</a><br>
> Log:<br>
> Add driver support for Native Client SDK<br>
><br>
> Add Tool and ToolChain support for clang to target the NaCl OS using the NaCl<br>
> SDK for x86-32, x86-64 and ARM.<br>
><br>
> Includes nacltools::Assemble and Link which are derived from gnutools. They<br>
> are similar to Linux but different enought that they warrant their own class.<br>
> Also includes a NaCl_TC in ToolChains derived from Generic_ELF with library<br>
> and include paths suitable for an SDK and independent of the system tools.<br>
><br>
> Differential Revision: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__reviews.llvm.org_D8590&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=znbr2Ey0zuMBgOeFxev8A1tgEECtCG8g5t1X75uY3yU&s=pZbx5uT6tYzxoqwQbYZAsuexIac2fer9jOp06gKYPmI&e=" rel="noreferrer" target="_blank">http://reviews.llvm.org/D8590</a><br>
</blockquote></div>