r311476 - [clang-diff] Refactor stop-after command-line flag

2017-08-22 Thread Jacob Gravelle via cfe-commits
Author: jgravelle Date: Tue Aug 22 10:42:44 2017 New Revision: 311476 URL: http://llvm.org/viewvc/llvm-project?rev=311476=rev Log: [clang-diff] Refactor stop-after command-line flag Summary: Rename stop-after to stop-diff-after. When building LLVM with -DLLVM_BUILD_LLVM_DYLIB=ON, stop-after

r295781 - Declare lgamma library builtins as never being const

2017-02-21 Thread Jacob Gravelle via cfe-commits
Author: jgravelle Date: Tue Feb 21 16:37:27 2017 New Revision: 295781 URL: http://llvm.org/viewvc/llvm-project?rev=295781=rev Log: Declare lgamma library builtins as never being const Summary: POSIX requires lgamma writes to an external global variable, signgam. This prevents annotating lgamma

[PATCH] D26431: [WebAssembly] Define __unix__ as part of the wasm target

2016-11-10 Thread Jacob Gravelle via cfe-commits
jgravelle-google abandoned this revision. jgravelle-google added a comment. Abandoning in favor of https://github.com/kripken/emscripten/pull/4718 https://reviews.llvm.org/D26431 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[PATCH] D26431: [WebAssembly] Define __unix__ as part of the wasm target

2016-11-08 Thread Jacob Gravelle via cfe-commits
jgravelle-google added a comment. I think you're right, it's the Emscripten embedding that's unixy, therefore Emscripten should be responsible for telling clang to be unixy. To play devil's advocate, it might be advantageous for all compile-to-wasm code to assume a common environment, and unix

[PATCH] D26431: [WebAssembly] Define __unix__ as part of the wasm target

2016-11-08 Thread Jacob Gravelle via cfe-commits
jgravelle-google added a comment. For the emscripten testsuite, specifically test_zlib relies on `#ifdef __unix__` to `#include `, which it needs. The rest of the unistd tests don't actually care. So we could make that test pass by explicitly adding a define for __unix__ for it, but I figure

[PATCH] D26431: [WebAssembly] Define __unix__ as part of the wasm target

2016-11-08 Thread Jacob Gravelle via cfe-commits
jgravelle-google created this revision. jgravelle-google added reviewers: dschuff, sunfish. jgravelle-google added a subscriber: cfe-commits. Herald added a subscriber: jfb. Unix is a convenient common denominator for embeddings to implement syscalls for. This makes it explicit that wasm is

[PATCH] D24134: [WebAssembly] Change wasm SizeType to match asmjs

2016-09-01 Thread Jacob Gravelle via cfe-commits
jgravelle-google created this revision. jgravelle-google added a reviewer: dschuff. jgravelle-google added a subscriber: cfe-commits. Herald added subscribers: dschuff, jfb. We want wasm and asmjs to have matching ABIs, and right now asmjs uses unsigned int for its size_t. This causes exported