Elliott Hughes
1a61d3e26b
Merge "Add syncfs(2)." am: fa3d3291e1
am: 1d1f15ab1b
...
am: cbea75b46b
Change-Id: Ic2a4c90bf1cfadc72cfba60558f751bc9604a2c5
2017-08-25 15:06:06 +00:00
Elliott Hughes
2d6bb788c8
Merge "Fix overflow in get_phys_pages and get_avphys_pages." am: eab34c8ad7
am: 3862d97a99
...
am: 22414cf1ed
Change-Id: Ia1acadaee65035eff9ff1b1003357d9aaa4c6147
2017-08-25 15:05:45 +00:00
Elliott Hughes
cbea75b46b
Merge "Add syncfs(2)." am: fa3d3291e1
...
am: 1d1f15ab1b
Change-Id: If347b500113f2c517bd994def79d70d0b496b026
2017-08-25 15:01:03 +00:00
Elliott Hughes
22414cf1ed
Merge "Fix overflow in get_phys_pages and get_avphys_pages." am: eab34c8ad7
...
am: 3862d97a99
Change-Id: Icaa5934d93f90c850f4d6748ab48bba5ab265409
2017-08-25 15:00:44 +00:00
Elliott Hughes
1d1f15ab1b
Merge "Add syncfs(2)."
...
am: fa3d3291e1
Change-Id: I6ac91294e9cf5ff8d0b44fc3ddc46b6ee3fbd9bf
2017-08-25 14:56:34 +00:00
Elliott Hughes
3862d97a99
Merge "Fix overflow in get_phys_pages and get_avphys_pages."
...
am: eab34c8ad7
Change-Id: I30ec650a0a74775fca01cb3dc97a12e9f03ae458
2017-08-25 14:56:14 +00:00
Elliott Hughes
fa3d3291e1
Merge "Add syncfs(2)."
2017-08-25 14:50:58 +00:00
Elliott Hughes
eab34c8ad7
Merge "Fix overflow in get_phys_pages and get_avphys_pages."
2017-08-25 14:50:43 +00:00
Christopher Ferris
0393a7b777
Merge "A few small fix ups." am: 1ca334b1c4
am: f6f4d49a0c
...
am: 4d9bd83858
Change-Id: I8a19da5c5bead99eba652a1ed327202afa102108
2017-08-25 01:19:23 +00:00
Christopher Ferris
4d9bd83858
Merge "A few small fix ups." am: 1ca334b1c4
...
am: f6f4d49a0c
Change-Id: Idb14f0d7f8ef7b3de144995606afc46e14dd7474
2017-08-25 01:14:53 +00:00
Christopher Ferris
f6f4d49a0c
Merge "A few small fix ups."
...
am: 1ca334b1c4
Change-Id: I5cbee3a50b5c8c609160dd75483f771308f775a1
2017-08-25 01:11:07 +00:00
Christopher Ferris
1ca334b1c4
Merge "A few small fix ups."
2017-08-25 01:03:13 +00:00
Elliott Hughes
5da4fe4ada
Fix overflow in get_phys_pages and get_avphys_pages.
...
On LP32 mem_unit will be 4096 to allow more than 4GiB in the "ulong"
fields, but we need to promote to a 64-bit type before we multiply.
Bug: N/A
Test: tested manually with an x86 static binary on my 64GiB desktop.
Signed-off-by: YiPing Xu <xuyiping@hisilicon.com>
Change-Id: Id663932503b75793bb7c26a008129f3e2e4cccbf
2017-08-24 16:51:48 -07:00
Elliott Hughes
896362eb0e
Add syncfs(2).
...
GMM calls this system call directly at the moment. That's silly.
Bug: http://b/36405699
Test: ran tests
Change-Id: I1e14c0e5ce0bc2aa888d884845ac30dc20f13cd5
2017-08-24 16:31:49 -07:00
Christopher Ferris
d9d39be0f0
A few small fix ups.
...
- Add a default xml file to run if nothing is specified on the command-line.
- Add a way to specify a xml file in suites without having to specify the
full path name.
- Move all of the test xml files into their own directory.
- Add the suites directory for to glibc benchmarks.
- Add a new test for help data.
- Modify the full suite test to verify the default xml is chosen and use
the real full.xml instead of the test one. Delete the test_full.xml.
- Move the property tests to the end of the suite.
- Add skipping of xml comments.
Test: Ran the unit tests and ran the bionic benchmarks.
Change-Id: Ie99965f86fe915af0175de46c7780ab79e2b0843
2017-08-24 14:50:03 -07:00
George Burgess IV
bc67a8422a
Merge "tests: explain how to debug FileCheck failures" am: 96c577c482
am: 2b5441276c
...
am: 4c63cd1158
Change-Id: Icae45f024a1ad25b59c450ca6d9f4b0c41ec119e
2017-08-24 18:19:54 +00:00
George Burgess IV
4c63cd1158
Merge "tests: explain how to debug FileCheck failures" am: 96c577c482
...
am: 2b5441276c
Change-Id: I22669da621bf830ce332b306ff63030984aa1caa
2017-08-24 18:14:23 +00:00
George Burgess IV
2b5441276c
Merge "tests: explain how to debug FileCheck failures"
...
am: 96c577c482
Change-Id: Ie7b823205860b047c36148fdf73434b3a8a4b58f
2017-08-24 18:10:24 +00:00
Treehugger Robot
96c577c482
Merge "tests: explain how to debug FileCheck failures"
2017-08-24 18:01:38 +00:00
Christopher Ferris
5b9844f0c9
Merge "Fix local path assumption in interface_test." am: 8e410a73d4
am: fcfc9a857e
...
am: 74273df903
Change-Id: I51647700981625e416684b2ef573483491ec866b
2017-08-24 17:22:06 +00:00
Christopher Ferris
74273df903
Merge "Fix local path assumption in interface_test." am: 8e410a73d4
...
am: fcfc9a857e
Change-Id: If1cadc1e10689e3928cd176182ae48fd0580ea80
2017-08-24 17:17:02 +00:00
Christopher Ferris
fcfc9a857e
Merge "Fix local path assumption in interface_test."
...
am: 8e410a73d4
Change-Id: I527664adf679a05a381508f7456187090e10f6e9
2017-08-24 17:13:50 +00:00
Christopher Ferris
8e410a73d4
Merge "Fix local path assumption in interface_test."
2017-08-24 17:01:56 +00:00
Dimitry Ivanov
5050503a5a
Merge "Add support of architecture specific ld.configs" am: 506f3f11f1
am: bfec477beb
...
am: 595ac73b12
Change-Id: Id5e8ddaf0b6cbabf3973fa5601e0531e6d7739a0
2017-08-24 09:50:23 +00:00
Dimitry Ivanov
595ac73b12
Merge "Add support of architecture specific ld.configs" am: 506f3f11f1
...
am: bfec477beb
Change-Id: Idb2be519dd83f7588da13f095063b2e248d8d95d
2017-08-24 09:45:53 +00:00
Dimitry Ivanov
bfec477beb
Merge "Add support of architecture specific ld.configs"
...
am: 506f3f11f1
Change-Id: I35e78b30bb52b9f7ed9983b6ea9fde9ea1ce52e4
2017-08-24 09:41:58 +00:00
Dimitry Ivanov
506f3f11f1
Merge "Add support of architecture specific ld.configs"
2017-08-24 09:38:33 +00:00
Elliott Hughes
6e74c5c507
Merge "Add more const-correct C++ overloads." am: 7b4fb64177
am: d451927b51
...
am: 934fa7f10f
Change-Id: I7a5f3e031b7042d8d6470da8cc01c7d0a432fa16
2017-08-24 02:47:30 +00:00
Elliott Hughes
934fa7f10f
Merge "Add more const-correct C++ overloads." am: 7b4fb64177
...
am: d451927b51
Change-Id: I146e4dbdb0cce05d08f09e2b1b48f655a9641449
2017-08-24 02:42:18 +00:00
Elliott Hughes
d451927b51
Merge "Add more const-correct C++ overloads."
...
am: 7b4fb64177
Change-Id: Ibbae33fd60e2a76282a464ff5cd9a0aaa616a585
2017-08-24 02:39:04 +00:00
Treehugger Robot
7b4fb64177
Merge "Add more const-correct C++ overloads."
2017-08-24 02:31:35 +00:00
Elliott Hughes
fbd2cab0aa
Merge "Remove dead longjmperror
." am: 8afd42ff28
am: 517704c845
...
am: 86ee96c8e1
Change-Id: Ie7a552ced558ebdf5c4e58470833e1f30240d88c
2017-08-24 01:28:19 +00:00
Elliott Hughes
86ee96c8e1
Merge "Remove dead longjmperror
." am: 8afd42ff28
...
am: 517704c845
Change-Id: Ib38da90d45001f1654e4868d21280eab0878099a
2017-08-24 01:22:13 +00:00
Elliott Hughes
517704c845
Merge "Remove dead longjmperror
."
...
am: 8afd42ff28
Change-Id: I032728b352baac5ea2fc06ac066916dc575de91d
2017-08-24 01:15:54 +00:00
Treehugger Robot
8afd42ff28
Merge "Remove dead longjmperror
."
2017-08-24 01:07:36 +00:00
George Burgess IV
c7bd90ff6f
tests: explain how to debug FileCheck failures
...
As requested by enh@ in Ie9ed1fbcc794e14a0c9bba13b5307ad677949613.
Bug: None
Test: mma
Change-Id: I3beb97fb500faa50d79f9355898bf778ab1184bd
2017-08-24 00:36:15 +00:00
Elliott Hughes
d2839b89f7
Merge "Benchmark fgetln(3) and getline(3) as well as fgets(3)." am: 73c23ead42
am: cf4510fed4
...
am: cdafd73dd2
Change-Id: Iaa82f964f6c686e9256d9e26115af72860b5b3d1
2017-08-23 22:47:18 +00:00
Elliott Hughes
8f0c87e21f
Remove dead longjmperror
.
...
This used to be used by the ARM longjmp implementation, but hasn't been in
libc.so for as long as we've used a linker script.
Bug: N/A
Test: builds
Change-Id: I3dff4d154d5e317955c349c9eaa08b982cbf0285
2017-08-23 15:40:03 -07:00
Elliott Hughes
cdafd73dd2
Merge "Benchmark fgetln(3) and getline(3) as well as fgets(3)." am: 73c23ead42
...
am: cf4510fed4
Change-Id: I5ea66fe82db2adcf6e609463f3a5ce42794145b9
2017-08-23 22:39:54 +00:00
Elliott Hughes
cf4510fed4
Merge "Benchmark fgetln(3) and getline(3) as well as fgets(3)."
...
am: 73c23ead42
Change-Id: I15525ff6ec1a7ac37dbdf0ef88572982b8bb9c07
2017-08-23 22:34:48 +00:00
Elliott Hughes
73c23ead42
Merge "Benchmark fgetln(3) and getline(3) as well as fgets(3)."
2017-08-23 22:20:57 +00:00
Elliott Hughes
df9a489b2b
Add more const-correct C++ overloads.
...
libc++ actually provides overloads for all the standard C library stuff,
so we just need to handle the POSIX and GNU extensions, of which there
are just two more: memrchr and strcasestr.
Bug: http://b/22768375
Test: builds
Change-Id: Ie9ed1fbcc794e14a0c9bba13b5307ad677949613
2017-08-23 14:34:40 -07:00
Elliott Hughes
938bece9e0
Benchmark fgetln(3) and getline(3) as well as fgets(3).
...
On Pixel 2016, there's about 1us overhead for getline versus
fgets. fgetln(3) is worse still because of the intermediate buffering
(though it might actually be better if you were only reading one line
whose length was less than BUFSIZ).
Also use somewhat realistic input for these benchmarks: /dev/zero makes
no sense at all.
Bug: N/A
Test: ran benchmarks
Change-Id: I4a319825a37ac3849014c4c6b31523c1e200c641
2017-08-23 14:03:43 -07:00
Elliott Hughes
06157e6982
Merge "Fix the stdio fwrite benchmark." am: 57e07a150e
am: c3abb9be91
am: 45f784c36b
...
am: 4a7619c430
Change-Id: I007c739fa3336cd2732b1ec4487e74788e546866
2017-08-23 16:14:03 +00:00
Elliott Hughes
4a7619c430
Merge "Fix the stdio fwrite benchmark." am: 57e07a150e
am: c3abb9be91
...
am: 45f784c36b
Change-Id: I19c516768905a56a3f7c893ce3f58f0f276f4352
2017-08-23 16:09:32 +00:00
Elliott Hughes
45f784c36b
Merge "Fix the stdio fwrite benchmark." am: 57e07a150e
...
am: c3abb9be91
Change-Id: Icee488d945bebcc61d3170946c96d1f0b81629b4
2017-08-23 16:05:30 +00:00
Elliott Hughes
c3abb9be91
Merge "Fix the stdio fwrite benchmark."
...
am: 57e07a150e
Change-Id: I5e2718dc57eeffb368f0c3de1834a2bb8d47c364
2017-08-23 16:03:01 +00:00
Elliott Hughes
57e07a150e
Merge "Fix the stdio fwrite benchmark."
2017-08-23 15:55:28 +00:00
dimitry
fe1b27cf84
Add support of architecture specific ld.configs
...
Prefer architecture specific ld.config.<arch>.txt if it exists;
fall back to default ld.config.txt files if arch-specific one is
not present.
Bug: http://b/64061157
Test: bionic-unit-tests && linker-unit-tests
Change-Id: I83a298a932f2e4af7acb2049a7641fb86908736c
2017-08-23 10:47:07 +02:00
Logan Chien
7b7eea1e3d
Merge "Fix wchar.wcstold_hex_floats on arm64" am: 96ba713f73
am: dbe3d36999
am: afea670564
...
am: 07b15a3f74
Change-Id: I6abdedc7c77a3c3a0a0b2382742f5b7652b95492
2017-08-23 07:32:58 +00:00