[PATCH] D25767: [Modules] Add a command line option for loading the clang builtins modulemap file.

2016-10-31 Thread Elad Cohen via cfe-commits
eladcohen added a comment. Thanks for the review! committed r285548. Repository: rL LLVM https://reviews.llvm.org/D25767 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D25767: [Modules] Add a command line option for loading the clang builtins modulemap file.

2016-10-31 Thread Elad Cohen via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL285548: [Modules] Add a command line option for loading the clang builtins modulemap. (authored by eladcohen). Changed prior to commit: https://reviews.llvm.org/D25767?vs=75133&id=76355#toc Repository:

r285548 - [Modules] Add a command line option for loading the clang builtins modulemap.

2016-10-31 Thread Elad Cohen via cfe-commits
Author: eladcohen Date: Mon Oct 31 03:21:54 2016 New Revision: 285548 URL: http://llvm.org/viewvc/llvm-project?rev=285548&view=rev Log: [Modules] Add a command line option for loading the clang builtins modulemap. -fbuiltin-module-map loads the clang builtins modulemap file. (This is equivalent t

[PATCH] D25337: [Modules] Add a command line option for enabling the modules feature exclusively for the Clang builtins.

2016-10-19 Thread Elad Cohen via cfe-commits
eladcohen added a comment. In https://reviews.llvm.org/D25337#571877, @rsmith wrote: > I really don't like the command-line interface you're proposing here. It > seems like it will be extremely confusing what something like `-fmodules > -fexclusive-builtin-modules` means, for instance (usually,

[PATCH] D25767: [Modules] Add a command line option for loading the clang builtins modulemap file.

2016-10-19 Thread Elad Cohen via cfe-commits
eladcohen created this revision. eladcohen added reviewers: rsmith, bruno, zvi. eladcohen added a subscriber: cfe-commits. -fbuiltin-module-map loads the clang builtins modulemap file. (This is equivalent to -fmodule-map-file=/include/module.modulemap) It can be used for enabling clang's 'modules

[PATCH] D25337: [Modules] Add a command line option for enabling the modules feature exclusively for the Clang builtins.

2016-10-19 Thread Elad Cohen via cfe-commits
eladcohen added a comment. In https://reviews.llvm.org/D25337#571845, @bruno wrote: > > The long answer is that there is a history of problems regarding the > > intrinsic files: > > http://lists.llvm.org/pipermail/cfe-dev/2016-May/048837.html > > http://lists.llvm.org/pipermail/cfe-dev/2016-Se

[PATCH] D25337: [Modules] Add a command line option for enabling the modules feature exclusively for the Clang builtins.

2016-10-09 Thread Elad Cohen via cfe-commits
eladcohen added a comment. Hi Bruno, The short answer is yes. Essentially it can be done, but we would actually like for all the users to always get this behavior, implicitly. The long answer is that there is a history of problems regarding the intrinsic files: http://lists.llvm.org/pipermail/

[PATCH] D25337: [Modules] Add a command line option for enabling the modules feature exclusively for the Clang builtins.

2016-10-06 Thread Elad Cohen via cfe-commits
eladcohen created this revision. eladcohen added reviewers: hans, rnk, zvi, rsmith, chandlerc. eladcohen added a subscriber: cfe-commits. -fexclusive-builtin-modules enables the clang 'modules' feature exclusively for the clang intrinsic header files. The end goal of this effort is to have this

Re: [PATCH] D24825: [X86] Remove the mm_malloc.h include guard hack from the X86 builtins tests

2016-09-28 Thread Elad Cohen via cfe-commits
eladcohen added a comment. Thanks for the review! committed r282581. Repository: rL LLVM https://reviews.llvm.org/D24825 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D24825: [X86] Remove the mm_malloc.h include guard hack from the X86 builtins tests

2016-09-28 Thread Elad Cohen via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL282581: [X86] Remove the mm_malloc.h include guard hack from the X86 builtins tests (authored by eladcohen). Changed prior to commit: https://reviews.llvm.org/D24825?vs=72158&id=72805#toc Repository:

r282581 - [X86] Remove the mm_malloc.h include guard hack from the X86 builtins tests

2016-09-28 Thread Elad Cohen via cfe-commits
Author: eladcohen Date: Wed Sep 28 06:59:09 2016 New Revision: 282581 URL: http://llvm.org/viewvc/llvm-project?rev=282581&view=rev Log: [X86] Remove the mm_malloc.h include guard hack from the X86 builtins tests The X86 clang/test/CodeGen/*builtins.c tests define the mm_malloc.h include guard as

Re: [PATCH] D24752: [Modules] Add missing dependencies to clang builtins modulemap

2016-09-28 Thread Elad Cohen via cfe-commits
eladcohen added inline comments. Comment at: lib/Headers/module.modulemap:133 @@ -131,2 +132,3 @@ explicit module aes { + export sse2 header "__wmmintrin_aes.h" bruno wrote: > The mmx case above makes sense to me, but I find conceptually odd that

Re: [PATCH] D24752: [Modules] Add missing dependencies to clang builtins modulemap

2016-09-27 Thread Elad Cohen via cfe-commits
eladcohen added a comment. ping https://reviews.llvm.org/D24752 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D24825: [X86] Remove the mm_malloc.h include guard hack from the X86 builtins tests

2016-09-22 Thread Elad Cohen via cfe-commits
eladcohen created this revision. eladcohen added a subscriber: cfe-commits. The X86 clang/test/CodeGen/*builtins.c tests define the mm_malloc.h include guard as a hack for avoiding its inclusion (mm_malloc.h requires a hosted environment since it expects stdlib.h to be available - which is not t

[PATCH] D24752: [Modules] Add missing dependencies to clang builtins modulemap

2016-09-19 Thread Elad Cohen via cfe-commits
eladcohen created this revision. eladcohen added a reviewer: rsmith. eladcohen added a subscriber: cfe-commits. X86 intrinsic header files mm3dnow.h and wmmintrin.h include and depend on mmintrin.h and emmintrin.h respectively. This patch adds these missing dependencies to the corresponding submo

Re: [PATCH] D23871: [Modules] Add 'freestanding' to the 'requires-declaration' feature-list.

2016-09-03 Thread Elad Cohen via cfe-commits
eladcohen added a comment. Thanks Richard, committed r280613. Repository: rL LLVM https://reviews.llvm.org/D23871 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

r280613 - [Modules] Add 'freestanding' to the 'requires-declaration' feature-list.

2016-09-03 Thread Elad Cohen via cfe-commits
Author: eladcohen Date: Sun Sep 4 01:00:42 2016 New Revision: 280613 URL: http://llvm.org/viewvc/llvm-project?rev=280613&view=rev Log: [Modules] Add 'freestanding' to the 'requires-declaration' feature-list. This adds support for modules that require (non-)freestanding environment, such as the c

Re: [PATCH] D23871: [Modules] Add 'freestanding' to the 'requires-declaration' feature-list.

2016-09-03 Thread Elad Cohen via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL280613: [Modules] Add 'freestanding' to the 'requires-declaration' feature-list. (authored by eladcohen). Changed prior to commit: https://reviews.llvm.org/D23871?vs=69239&id=70279#toc Repository: rL

Re: [PATCH] D23871: [Modules] Add 'freestanding' to the 'requires-declaration' feature-list.

2016-08-27 Thread Elad Cohen via cfe-commits
eladcohen added inline comments. Comment at: lib/Headers/module.modulemap:66 @@ -65,2 +65,3 @@ explicit module mm_malloc { + requires !freestanding header "mm_malloc.h" rsmith wrote: > Are there more parts of the intrinsics modules to which this s

[PATCH] D23871: [Modules] Add 'freestanding' to the 'requires-declaration' feature-list.

2016-08-25 Thread Elad Cohen via cfe-commits
eladcohen created this revision. eladcohen added reviewers: rsmith, andreybokhanko. eladcohen added a subscriber: cfe-commits. This adds support for modules that require (non-)freestanding environment such as the compiler builtin mm_malloc submodule. https://reviews.llvm.org/D23871 Files: doc

r279419 - Test commit (Removing trailing whitespace).

2016-08-22 Thread Elad Cohen via cfe-commits
Author: eladcohen Date: Mon Aug 22 02:34:21 2016 New Revision: 279419 URL: http://llvm.org/viewvc/llvm-project?rev=279419&view=rev Log: Test commit (Removing trailing whitespace). Modified: cfe/trunk/include/clang/Driver/Driver.h Modified: cfe/trunk/include/clang/Driver/Driver.h URL: http:/