5905d6f8797056ca4178d42bf1220b6692e557a5 |
|
31-Jan-2018 |
Elliott Hughes <enh@google.com> |
Add `sigset64_t` and accompanying functions. This doesn't address `struct sigaction` and `sigaction`. That will come later. Bug: http://b/72493232 Test: ran tests Change-Id: I4134346757ce3a4dac6feae413361cec16223386
|
ff26a16c1de7be696719e9001f0707b7c55b52cf |
|
18-Aug-2017 |
Elliott Hughes <enh@google.com> |
Re-submit "Name function arguments in libc headers for Studio." This reverts commit 9af9120091ceb96641d7c6c645fabad96db4bc0d (a revert of 079bff4fa52b0c3c76057451cc9cdecf1827fce0), now the versioner bug is fixed. Bug: http://b/64613623 # header bug Bug: http://b/64802958 # versioner bug Change-Id: I1cb9d7832d4b3aecdc57a9285e2291443e59d02d
|
9af9120091ceb96641d7c6c645fabad96db4bc0d |
|
17-Aug-2017 |
Colin Cross <ccross@android.com> |
Revert "Name function arguments in libc headers for Studio." This reverts commit 079bff4fa52b0c3c76057451cc9cdecf1827fce0. Broke builds with SANITIZE_HOST=address with an asan failure in versioner. Change-Id: I22b113fd5405589d1a25e5e137c450aaba1ade5f
|
079bff4fa52b0c3c76057451cc9cdecf1827fce0 |
|
17-Aug-2017 |
Elliott Hughes <enh@google.com> |
Name function arguments in libc headers for Studio. Second batch of headers... Bug: http://b/64613623 Test: builds Change-Id: I8eef043dbf32afee8ff814e9d005f46aee8fa21f
|
3f66e74b903905e763e104396aff52a81718cfde |
|
01-Aug-2017 |
Elliott Hughes <enh@google.com> |
Remove nullability specifications. Bug: http://b/64251432 Test: builds Change-Id: I5b1613484783f7478d30b5e694007f77fa626659
|
16016df79f846d6d21266c3b1dce1e7c24dc4be1 |
|
08-Nov-2016 |
Josh Gao <jmgao@google.com> |
versioner: refactor to use CompilerInstance directly. This will make it easier to switch over to a virtual filesystem, which should drastically improve performance. This also fixes an issue with warning/error reporting. Bug: http://b/32748936 Test: python run_tests.py Change-Id: I2e967acf75db29c95f3a03f4f94cccd22c367ad5
|
3b2096a9d6edd74622b94cacc76b77100f919b84 |
|
23-Jul-2016 |
Elliott Hughes <enh@google.com> |
Remove unnecessary 'extern's. Change-Id: Iba2b3fb6ff88e504f1657b915120ae43d58a1e03
|
46b44160e9e4c466be0faf1bb8d6ec70ecc83273 |
|
27-May-2016 |
Josh Gao <jmgao@google.com> |
Update header versions for NDK platform fixes. Bug: http://b/28178111 Change-Id: Icd638673b409aa43a91490f77c6b4d79c9ea20d9
|
baa2a973bd776a51bb05a8590ab05d86eea7b321 |
|
14-Aug-2015 |
Dan Albert <danalbert@google.com> |
Use clang's nullability instead of nonnull. http://clang.llvm.org/docs/AttributeReference.html#nonnull _Nonnull is similar to the nonnull attribute in that it will instruct compilers to warn the user if it can prove that a null argument is being passed. Unlike the nonnull attribute, this annotation indicated that a value *should not* be null, not that it *cannot* be null, or even that the behavior is undefined. The important distinction is that the optimizer will perform surprising optimizations like the following: void foo(void*) __attribute__(nonnull, 1); int bar(int* p) { foo(p); // The following null check will be elided because nonnull // attribute means that, since we call foo with p, p can be // assumed to not be null. Thus this will crash if we are called // with a null pointer. if (src != NULL) { return *p; } return 0; } int main() { return bar(NULL); } Note that by doing this we are no longer attaching any sort of attribute for GCC (GCC doesn't support attaching nonnull directly to a parameter, only to the function and naming the arguments positionally). This means we won't be getting a warning for this case from GCC any more. People that listen to warnings tend to use clang anyway, and we're quickly moving toward that as the default, so this seems to be an acceptable tradeoff. Change-Id: Ie05fe7cec2f19a082c1defb303f82bcf9241b88d
|
14adff1cfa06a3d4d3281a9bf7848b556d84c20d |
|
29-Apr-2016 |
Josh Gao <jmgao@google.com> |
Add versioning information to symbols. Bug: http://b/28178111 Change-Id: I46bf95accd819f4521afb1173d8badcc5e9df31c
|
06040fd75c1edff9e5ffb2b3d3e2a6e66d57c11d |
|
09-Jul-2013 |
Elliott Hughes <enh@google.com> |
Add <sys/statvfs.h>. Bug: 2512019 Change-Id: I6e7fd3fa281977cc4bc270481a95416b5b2dc351
|
36fa67bcdd90f18a3c68f8637ae836762407fa51 |
|
06-Jun-2013 |
Elliott Hughes <enh@google.com> |
Ensure header files using __BEGIN_DECLS include sys/cdefs.h. We keep fixing these one-by-one; let's fix them all at once. Found thus: find . -name *.h | xargs grep -L sys/cdefs.h | xargs grep -l BEGIN_DECL | xargs grep -L sys/types Change-Id: I188842aa2484dc6176e96556d57c38a0f785b59b
|
f193b9fc211760938a79703f6e7ca1619de8cee8 |
|
16-Jan-2013 |
Elliott Hughes <enh@google.com> |
Fix signalfd for MIPS. Also mark signalfd's sigset_t* argument as non-nullable. Change-Id: I466e09cdf3fb92480744c496da92274a97f99dd1
|
a4b2dc016fa62bd172a73c3f8971c805700ffb0f |
|
10-Jan-2013 |
Rom Lemarchand <romlem@google.com> |
Add signalfd call to bionic Add signalfd() call to bionic. Adding the signalfd call was done in 3 steps: - add signalfd4 system call (function name and syscall number) to libc/SYSCALLS.TXT - generate all necessary headers by calling libc/tools/gensyscalls.py. This patch is adding the generated files since the build system does not call gensyscalls.py. - create the signalfd wrapper in signalfd.cpp and add the function prototype to sys/signalfd.h (cherry-pick of 0c11611c11f4dc1b6d43587b72c3ccbe8c51a51c, modified to work with older versions of GCC still in use on some branches.) Change-Id: I4c6c3f12199559af8be63f93a5336851b7e63355
|
19dd1567a0aee5e2e46b22352569d37b4c3844c5 |
|
10-Jan-2013 |
Elliott Hughes <enh@google.com> |
Revert "Add signalfd call to bionic" This reverts commit 0c11611c11f4dc1b6d43587b72c3ccbe8c51a51c Change-Id: I1a2beae7ed66ec995fdf6c96c53c35598ac6cde0
|
0c11611c11f4dc1b6d43587b72c3ccbe8c51a51c |
|
10-Jan-2013 |
Rom Lemarchand <romlem@google.com> |
Add signalfd call to bionic Add signalfd() call to bionic. Adding the signalfd call was done in 3 steps: - add signalfd4 system call (function name and syscall number) to libc/SYSCALLS.TXT - generate all necessary headers by calling libc/tools/gensyscalls.py. This patch is adding the generated files since the build system does not call gensyscalls.py. - create the signalfd wrapper in signalfd.cpp and add the function prototype to sys/signalfd.h Change-Id: I7ee1d3e60d5d3e1c73d9820e07d23b9ce6e1a5ab
|