r233594 - Add driver support for Native Client SDK

İsmail Dönmez ismail at donmez.ws
Tue Mar 31 02:37:11 PDT 2015


Hi,

On Mon, Mar 30, 2015 at 11: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 NaCl
> SDK for x86-32, x86-64 and ARM.
>
> Includes nacltools::Assemble and Link which are derived from gnutools. They
> are similar to Linux but different enought that they warrant their own class.
> Also includes a NaCl_TC in ToolChains derived from Generic_ELF with library
> and include paths suitable for an SDK and independent of the system tools.
>
> Differential Revision: http://reviews.llvm.org/D8590
>
> Added:

> +// CHECK-x86_64: "-resource-dir" "{{.*}}/lib/clang/[[VER:[0-9.]+]]"
> +// CHECK-x86_64: "-internal-isystem" "{{.*}}/../lib/clang/[[VER]]/include"

This won't work when LLVM_LIBDIR_SUFFIX=64 is in effect. In that case
lib64 will be used instead of lib.

ismail



More information about the cfe-commits mailing list