Elliott Hughes
8b5df3920f
Turn on -Wold-style-cast and fix the errors.
...
A couple of dodgy cases where we cast away const, but otherwise pretty boring.
Change-Id: Ibc39ebd525377792b5911464be842121c20f03b9
2015-01-21 17:09:58 -08:00
Dan Albert
169eb66451
Add ndk_missing_symbols.py.
...
ndk_missing_symbols.py pulls libc.so and libm.so off a running device
or emulator and shows the list of symbols that are in the current
bionic that aren't available on the target.
Change-Id: Ia92c315a6a0ce2e5c33db0b62c8fab41c08a4c31
2015-01-21 17:09:50 -08:00
Elliott Hughes
0edffb85fa
am a2e5d98b: am 2a8c929a: Merge "Implement __fsetlocking."
...
* commit 'a2e5d98b641bef4c5611f6aba5defff74abcad93':
Implement __fsetlocking.
2015-01-22 00:13:10 +00:00
Christopher Ferris
0a45cc2556
am 0930323e: am 8476b8ed: Merge "Contact proper debuggerd when crashing."
...
* commit '0930323e98e88157b567dab3b1c75618229dd281':
Contact proper debuggerd when crashing.
2015-01-22 00:13:09 +00:00
Dan Albert
f0de7d6c69
am a6e2e070: am fbc70d38: Merge "Report 404 errors from Gerrit and continue."
...
* commit 'a6e2e070f2add9869e2160e3c0ca4454cac7bb7b':
Report 404 errors from Gerrit and continue.
2015-01-22 00:13:08 +00:00
Elliott Hughes
a2e5d98b64
am 2a8c929a: Merge "Implement __fsetlocking."
...
* commit '2a8c929aaf8d34d2b6e89ed9c8b6da163316143e':
Implement __fsetlocking.
2015-01-21 22:58:17 +00:00
Christopher Ferris
0930323e98
am 8476b8ed: Merge "Contact proper debuggerd when crashing."
...
* commit '8476b8ed9e290d79cd00e7801c505268f0e8ec15':
Contact proper debuggerd when crashing.
2015-01-21 22:58:11 +00:00
Dan Albert
a6e2e070f2
am fbc70d38: Merge "Report 404 errors from Gerrit and continue."
...
* commit 'fbc70d3899a58e6aff7d3e94803fcdc80629de5a':
Report 404 errors from Gerrit and continue.
2015-01-21 22:58:07 +00:00
Elliott Hughes
2a8c929aaf
Merge "Implement __fsetlocking."
2015-01-21 19:42:44 +00:00
Christopher Ferris
8476b8ed9e
Merge "Contact proper debuggerd when crashing."
2015-01-21 18:39:59 +00:00
Elliott Hughes
8c4994bbc1
Implement __fsetlocking.
...
The old __isthreaded hack was never very useful on Android because all user
code runs in a VM where there are lots of threads running. But __fsetlocking
lets a caller say "I'll worry about the locking for this FILE*", which is
useful for the normal case where you don't share a FILE* between threads
so you don't need any locking.
Bug: 17154740
Bug: 18593728
Change-Id: I2a8dddc29d3edff39a3d7d793387f2253608a68d
2015-01-21 10:33:30 -08:00
Dan Albert
fbc70d3899
Merge "Report 404 errors from Gerrit and continue."
2015-01-21 18:25:40 +00:00
Dan Albert
2b87351063
Report 404 errors from Gerrit and continue.
...
Currently, we get a 404 from Gerrit in the event that two projects
have the same Change-Id. We should be able to handle this and actually
cherry-pick each change so we can check multi-project changes, but for
now just skip these changes.
Change-Id: I7bc63208998d58beec83b71b302450d9be3ea026
2015-01-21 09:56:28 -08:00
Elliott Hughes
eb1ac69d45
am 45bdcf89: am f3743584: Merge "Fix signed/unsigned comparison that was upsetting clang."
...
* commit '45bdcf895b7f4cd6b4741fe33bc7a56d40fb220a':
Fix signed/unsigned comparison that was upsetting clang.
2015-01-21 02:21:59 +00:00
Elliott Hughes
e574a70d1e
am c4f1cfc9: am a779719d: Merge "Add TEMP_FAILURE_RETRY to stdio\'s low-level read/write functions."
...
* commit 'c4f1cfc9fc5ba053525cd155d50fae8b67df0392':
Add TEMP_FAILURE_RETRY to stdio's low-level read/write functions.
2015-01-21 02:21:58 +00:00
Elliott Hughes
6428c625e8
am 7d196768: am 927d8be7: Merge "Fix build error when XLOG is enabled"
...
* commit '7d196768029f36b0e3fa57ba747ce58ef2b1c9d6':
Fix build error when XLOG is enabled
2015-01-21 02:21:57 +00:00
Elliott Hughes
822fe55ea9
am 06645218: am c053a428: Merge "Optimized fread."
...
* commit '0664521893e88f2cd266306e707a832d9d1f94a2':
Optimized fread.
2015-01-21 02:21:56 +00:00
Elliott Hughes
45bdcf895b
am f3743584: Merge "Fix signed/unsigned comparison that was upsetting clang."
...
* commit 'f374358414812d3e5a45ba75a2b1926693924420':
Fix signed/unsigned comparison that was upsetting clang.
2015-01-21 02:11:35 +00:00
Elliott Hughes
c4f1cfc9fc
am a779719d: Merge "Add TEMP_FAILURE_RETRY to stdio\'s low-level read/write functions."
...
* commit 'a779719d628de5e504dac08d334bc576f3b7fb0a':
Add TEMP_FAILURE_RETRY to stdio's low-level read/write functions.
2015-01-21 02:11:34 +00:00
Elliott Hughes
7d19676802
am 927d8be7: Merge "Fix build error when XLOG is enabled"
...
* commit '927d8be76d956fcda630e1088e9b89eb31be5146':
Fix build error when XLOG is enabled
2015-01-21 02:11:33 +00:00
Elliott Hughes
0664521893
am c053a428: Merge "Optimized fread."
...
* commit 'c053a42831165044cca0bb9eb220b8f5d27fdd18':
Optimized fread.
2015-01-21 02:11:32 +00:00
Christopher Ferris
151da68100
Contact proper debuggerd when crashing.
...
Make the request structure match the new structure found in debuggerd
code.
On 64 bit systems, make sure that the 32 bit compiled linker is contacted.
Bug: https://code.google.com/p/android/issues/detail?id=97024
Change-Id: I675b8ff222fcf836b05de4e9b5976ff91ca929bf
2015-01-20 17:22:25 -08:00
Elliott Hughes
f374358414
Merge "Fix signed/unsigned comparison that was upsetting clang."
2015-01-21 00:57:06 +00:00
Elliott Hughes
e69e6458cc
Fix signed/unsigned comparison that was upsetting clang.
...
bionic/libc/stdio/fread.c:86:27: error: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned int') [-Werror,-Wsign-compare]
Change-Id: Ia7e1e053e0cb13113e8f2eede820be013acbab82
2015-01-20 16:52:04 -08:00
Elliott Hughes
a779719d62
Merge "Add TEMP_FAILURE_RETRY to stdio's low-level read/write functions."
2015-01-21 00:50:01 +00:00
Elliott Hughes
8885dcc779
Add TEMP_FAILURE_RETRY to stdio's low-level read/write functions.
...
This is correctness rather than performance, but found while investigating
performance.
Bug: 18593728
Change-Id: Idbdfed89d1931fcfae65db29d662108d4bbd9b65
2015-01-20 16:18:32 -08:00
Elliott Hughes
927d8be76d
Merge "Fix build error when XLOG is enabled"
2015-01-21 00:13:28 +00:00
Patrick Tjin
a6a0949b1d
Fix build error when XLOG is enabled
...
(cherrypick of 79a49c9857f3949fc13373eeb179f27b6ecdca81.)
Change-Id: I7bb44fd1fe3ef2ddfc115247f328eccfceeb5352
Signed-off-by: Patrick Tjin <pattjin@google.com>
2015-01-20 16:12:45 -08:00
Elliott Hughes
c053a42831
Merge "Optimized fread."
2015-01-21 00:11:31 +00:00
Elliott Hughes
75b99387dd
Optimized fread.
...
This makes us competitive with glibc for fully-buffered and unbuffered reads,
except in single-threaded situations where glibc avoids locking, but since
we're never really single-threaded anyway, that isn't a priority.
Bug: 18593728
Change-Id: Ib776bfba422ccf46209581fc0dc54f3567645b8f
2015-01-20 15:59:17 -08:00
Yabin Cui
0d53dd8081
am da307e7d: am d3d75c02: Merge "Remove testcase time printing in bionic-unit-tests."
...
* commit 'da307e7d91559f32a15390b1ac48693ffb7def89':
Remove testcase time printing in bionic-unit-tests.
2015-01-20 23:48:37 +00:00
Yabin Cui
da307e7d91
am d3d75c02: Merge "Remove testcase time printing in bionic-unit-tests."
...
* commit 'd3d75c029a9b768989d5370000788dca4032b97a':
Remove testcase time printing in bionic-unit-tests.
2015-01-20 23:43:15 +00:00
Yabin Cui
d3d75c029a
Merge "Remove testcase time printing in bionic-unit-tests."
2015-01-20 23:38:35 +00:00
Yabin Cui
e00eb27c65
am 978e54a7: am 1c01c9f7: Merge "Add target libbionic_gtest_main for cts test."
...
* commit '978e54a7884211302b230685d73c8e1d9790a0ae':
Add target libbionic_gtest_main for cts test.
2015-01-20 23:15:21 +00:00
Yabin Cui
978e54a788
am 1c01c9f7: Merge "Add target libbionic_gtest_main for cts test."
...
* commit '1c01c9f752c07d758349356c18563261b8216da9':
Add target libbionic_gtest_main for cts test.
2015-01-20 22:51:49 +00:00
Yabin Cui
516eb53113
Remove testcase time printing in bionic-unit-tests.
...
Bug: 19075565
Change-Id: Icccb60657a2985e96abb1703673f0ebe2199586a
2015-01-20 14:46:03 -08:00
Yabin Cui
1c01c9f752
Merge "Add target libbionic_gtest_main for cts test."
2015-01-20 22:44:02 +00:00
Yabin Cui
6104eb9fa7
Add target libbionic_gtest_main for cts test.
...
Bug: 17589740
Change-Id: I37f2d3fe72870b9dc867407fa1619c9a6fcd5cbb
2015-01-20 14:32:07 -08:00
Elliott Hughes
717bb49ec3
am 3873c9df: am 1d7b3f3c: Merge "Improve <stdio_ext.h> testing."
...
* commit '3873c9dfe675e05fdda8ebfc11fdee0ee810b1b3':
Improve <stdio_ext.h> testing.
2015-01-20 18:34:28 +00:00
Elliott Hughes
3873c9dfe6
am 1d7b3f3c: Merge "Improve <stdio_ext.h> testing."
...
* commit '1d7b3f3ccc4f2883cbc0fe677dff888c56c18996':
Improve <stdio_ext.h> testing.
2015-01-20 18:27:47 +00:00
Elliott Hughes
1d7b3f3ccc
Merge "Improve <stdio_ext.h> testing."
2015-01-20 18:07:37 +00:00
Elliott Hughes
4e7078de2c
am 3ef0c58d: am 3bbf4639: Merge "Add a benchmark for using stdio to read a file in /proc."
...
* commit '3ef0c58db6ed50b6ae0f8560230f0791b9e51415':
Add a benchmark for using stdio to read a file in /proc.
2015-01-17 02:05:59 +00:00
Elliott Hughes
3ef0c58db6
am 3bbf4639: Merge "Add a benchmark for using stdio to read a file in /proc."
...
* commit '3bbf4639080bc2f42435b4a7fd400c44aab7fd70':
Add a benchmark for using stdio to read a file in /proc.
2015-01-17 01:42:16 +00:00
Elliott Hughes
3bbf463908
Merge "Add a benchmark for using stdio to read a file in /proc."
2015-01-17 01:24:44 +00:00
Elliott Hughes
1cf32f83d3
Add a benchmark for using stdio to read a file in /proc.
...
Change-Id: I12517aae19e36b7c022a11e8807aece61bb0cb9c
2015-01-16 17:08:31 -08:00
Elliott Hughes
df8f1a42d1
Improve <stdio_ext.h> testing.
...
I almost fixed a non-bug. Add a test to prevent me from doing that.
Change-Id: I4a1dc13e603a7a377bdaee2e78132015087f7107
2015-01-16 16:40:55 -08:00
Elliott Hughes
d3509e4ad0
am 52e9fe53: am 481cf21e: Merge "Use SI prefixes throughout the benchmark output."
...
* commit '52e9fe53bb73a399449d2b3ac47d243ce0ba5b3f':
Use SI prefixes throughout the benchmark output.
2015-01-17 00:31:45 +00:00
Elliott Hughes
52e9fe53bb
am 481cf21e: Merge "Use SI prefixes throughout the benchmark output."
...
* commit '481cf21e08a6cbbc686487744f1cb07b6d3f400e':
Use SI prefixes throughout the benchmark output.
2015-01-17 00:27:58 +00:00
Elliott Hughes
481cf21e08
Merge "Use SI prefixes throughout the benchmark output."
2015-01-17 00:23:35 +00:00
Yabin Cui
39b71a9892
am 58bbe437: am cfe7e75f: Merge "Make sys_resource test more robust."
...
* commit '58bbe437ac1cf8f74780235a421d844dfe0cc4dc':
Make sys_resource test more robust.
2015-01-16 22:03:55 +00:00