Commit graph

39785 commits

Author SHA1 Message Date
Treehugger Robot
ba1a11d9c0 Merge "Nullability check for unistd module." am: c5774b8945
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2611292

Change-Id: I7ea2e8d53e7f0063fc5b0f74ed342e7006e364cb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-06 22:57:14 +00:00
Treehugger Robot
92bcb33a25 Merge "<sched.h>: __INTRODUCED_IN_ removal." am: fa203f18cc
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2605642

Change-Id: I5978a3df84e4bb69fb6878c1acfd1772ea6836d7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-06 22:56:19 +00:00
Treehugger Robot
ef12c067d9 Merge "Nullability check for stdio module." am: 7ee668977b am: efd7557a89
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2612654

Change-Id: I8119363da486f0891e3489a926c8f639567c926e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-06 22:55:54 +00:00
Treehugger Robot
79600ce16b Merge "<fenv.h>: documentation, and __INTRODUCED_IN removal." 2023-06-06 22:37:59 +00:00
Treehugger Robot
c5774b8945 Merge "Nullability check for unistd module." 2023-06-06 22:36:04 +00:00
Treehugger Robot
fa203f18cc Merge "<sched.h>: __INTRODUCED_IN_ removal." 2023-06-06 22:22:27 +00:00
zijunzhao
9e19785d76 Nullability check for termios_inlines module.
Bugs: b/245972273
Test: adb shell
Change-Id: I0284efc272ed1c3352d4a72deb0760f697b1e877
2023-06-06 21:58:45 +00:00
Treehugger Robot
efd7557a89 Merge "Nullability check for stdio module." am: 7ee668977b
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2612654

Change-Id: Iaebc1a7715a092c86aa14f6aa173849892edc16f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-06 21:54:26 +00:00
Treehugger Robot
7ee668977b Merge "Nullability check for stdio module." 2023-06-06 21:13:21 +00:00
zijunzhao
30cf6d09d5 Nullability check for unistd module.
Bugs: b/245972273
Test: adb shell
Change-Id: I958166bcea67399638c28d424b5976be29660232
2023-06-06 20:39:07 +00:00
Elliott Hughes
9cf6036048 <fenv.h>: documentation, and __INTRODUCED_IN removal.
Now the NDK doesn't support API levels below 21, we don't actually need
the different arm32 vs x86 annotations. In general we haven't been
removing this historical information because it might be interesting to
someone, and there's no real reason to remove it, but we've had
versioner bugs recently with these more complex cases.

Test: treehugger
Change-Id: I9460109a2648b9d05d7e21e397935293d3fea8eb
2023-06-06 20:32:12 +00:00
zijunzhao
acd090d585 Nullability check for stdio module.
Bugs: b/245972273
Test: adb shell
Change-Id: I3fe777e75f68b06b944830b96d091cf9d973e0db
2023-06-06 18:43:52 +00:00
Treehugger Robot
f47dab3875 Merge "Nullability check for thread_properties module." am: 0428fc1a9c am: 0842bef4cf am: 230bea65a1
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2612529

Change-Id: Ia6a20af53c29bad9ff5143727cb13b4379a54a34
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-06 02:18:14 +00:00
Treehugger Robot
230bea65a1 Merge "Nullability check for thread_properties module." am: 0428fc1a9c am: 0842bef4cf
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2612529

Change-Id: Id30354d4cdea74478d13b3a0caccb6b431a984ed
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-06 01:34:08 +00:00
Treehugger Robot
0842bef4cf Merge "Nullability check for thread_properties module." am: 0428fc1a9c
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2612529

Change-Id: I2f98df45ab9ec8866990585258a5736666b37934
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-06 00:49:34 +00:00
Treehugger Robot
0428fc1a9c Merge "Nullability check for thread_properties module." 2023-06-06 00:18:33 +00:00
zijunzhao
70586d6a99 Nullability check for thread_properties module.
Bugs: b/245972273
Test: adb shell
Change-Id: I8f2c640d74d73576d81453973d63568472b2676e
2023-06-05 22:07:50 +00:00
Yun Hsiang
40a82d005c Implement rvv version mem* and str* for riscv64
Add vector version mem* and str* functions and only build them when the
vector extension is enabled.
The original implementation comes from
https://github.com/sifive/sifive-libc, which we agree to contribute to
the Android Open Source Project.

Test: mma

Change-Id: I11b671a5bc571d7c783a657f272f282df7d16c29
Signed-off-by: Yun Hsiang <yun.hsiang@sifive.com>
2023-05-31 09:32:42 +08:00
Treehugger Robot
d40317e4aa Merge "Fix elftls_dl#dtv_resize with HWASan" am: 41ea538b40 am: 049856745e am: 5db9586e33
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2607726

Change-Id: If52e38ed4c1cae1e223b83231bd14da0a6fc6ce2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-30 22:54:28 +00:00
Treehugger Robot
5db9586e33 Merge "Fix elftls_dl#dtv_resize with HWASan" am: 41ea538b40 am: 049856745e
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2607726

Change-Id: Iec21e7e81e8dc7883d825149647c5318e0674d48
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-30 22:07:33 +00:00
Treehugger Robot
049856745e Merge "Fix elftls_dl#dtv_resize with HWASan" am: 41ea538b40
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2607726

Change-Id: Ie029ce2793d651d2c6c7f6f4b072b50d01e67926
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-30 21:26:41 +00:00
Treehugger Robot
41ea538b40 Merge "Fix elftls_dl#dtv_resize with HWASan" 2023-05-30 20:44:01 +00:00
Christopher Ferris
913f4c2801 Merge "Modify argument parser for multiple arguments." am: e48d121a3c am: b778f0e6f0 am: 899d01e3c9
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2606318

Change-Id: I7e85d0de6b543a294c3d6f7afc4f106255fa58fe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-27 21:08:17 +00:00
Christopher Ferris
899d01e3c9 Merge "Modify argument parser for multiple arguments." am: e48d121a3c am: b778f0e6f0
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2606318

Change-Id: I4196c7a7c49ad0b7c75f6122c6dfa4bcdf42109b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-27 20:20:32 +00:00
Christopher Ferris
b778f0e6f0 Merge "Modify argument parser for multiple arguments." am: e48d121a3c
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2606318

Change-Id: I749e5bd2e5032c9d1d4688e1512d3178f4ae435f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-27 19:17:18 +00:00
Christopher Ferris
e48d121a3c Merge "Modify argument parser for multiple arguments." 2023-05-27 18:36:25 +00:00
Christopher Ferris
34280dc7aa Merge "Fix benchmark unit tests." am: 185103af60 am: aed61f3574 am: e84aaba7c7
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2606151

Change-Id: I6e74f745dfb9737e21533a4d7bb85fc500cf6fbd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-27 00:55:48 +00:00
Treehugger Robot
99eaa8a4af Merge "time.h: add doc comments." am: 32ce2d5c82 am: 46eaa20d87 am: c6bbbd4a68
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2605787

Change-Id: I16cf6fe1650291bb0db27e691a26c08c6c177594
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-27 00:55:17 +00:00
Christopher Ferris
e84aaba7c7 Merge "Fix benchmark unit tests." am: 185103af60 am: aed61f3574
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2606151

Change-Id: I93c34dc92ef2fb02934d80ed39be58e9b8843591
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-26 23:48:37 +00:00
Treehugger Robot
c6bbbd4a68 Merge "time.h: add doc comments." am: 32ce2d5c82 am: 46eaa20d87
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2605787

Change-Id: Icefff20d518ae3b0e6d44836e4ed4a476bf59c80
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-26 23:47:53 +00:00
Christopher Ferris
f2d93d604d Modify argument parser for multiple arguments.
Currently, if a test is created like this:

  BIONIC_BENCHMARK_WITH_ARG(BM_bench, "16");

Everything works as expected, a benchmark is created of BM_bench/16.
However, it is not possible to specify a benchmark should be called with
one argument, but iterate over different values. The example:

  BIONIC_BENCHMARK_WITH_ARG(BM_bench, "16 32");

Creates a single benchmark run with two arguments:

  BM_bench/16/32

This change modifies the algorithm to make it possible to create multiple
instances of the benchmark iterating over each argument as a single
argument. After this change, two benchmarks are executed:

  BM_bench/16
  BM_bench/32

To do the previous behavior, use:

  BIONIC_BENCHMARK_WITH_ARG(BM_bench, "16/32");

This will create a single benchmark with two args. This format does
not support spaces in the args, so "16 / 32" is not valid.

Modified the test_small.xml to use the new format.

Test: All unit tests pass.
Change-Id: I6f486e1d4a90580c3dace0581ea65f439911ef5a
2023-05-26 16:07:16 -07:00
Christopher Ferris
aed61f3574 Merge "Fix benchmark unit tests." am: 185103af60
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2606151

Change-Id: I713ff58647b0ac0f0d96775c009bd14f594db830
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-26 23:02:39 +00:00
Treehugger Robot
46eaa20d87 Merge "time.h: add doc comments." am: 32ce2d5c82
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2605787

Change-Id: Ib1634531368b08f77a92ce68a3ea2acb99e8d976
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-26 23:01:25 +00:00
Florian Mayer
2df8ae0f4f Fix elftls_dl#dtv_resize with HWASan
Bug: 271343561
Change-Id: I26755aff68e6c9c2f5454dac0229758b57fd1754
2023-05-26 14:11:40 -07:00
Christopher Ferris
185103af60 Merge "Fix benchmark unit tests." 2023-05-26 20:12:13 +00:00
Treehugger Robot
32ce2d5c82 Merge "time.h: add doc comments." 2023-05-26 20:11:05 +00:00
Elliott Hughes
e17ebfd51a <math.h>: more use of __RENAME_LDBL.
Now the NDK doesn't support API levels below 21, we don't actually need
weird x86-specific annotations. In general we haven't been removing
this historical information because it might be interesting to someone,
and there's no real reason to remove it, but we've had versioner bugs
recently with these more complex cases.

Test: treehugger
Change-Id: Ia457bb338ecf55af8e319e411ec3bf48a03f3c03
2023-05-26 13:00:51 -07:00
Elliott Hughes
db36e0829b <sched.h>: __INTRODUCED_IN_ removal.
Now the NDK doesn't support API levels below 21, we don't actually need
the different arm32 vs x86 annotations. In general we haven't been
removing this historical information because it might be interesting to
someone, and there's no real reason to remove it, but we've had
versioner bugs recently with these more complex cases.

Test: treehugger
Change-Id: Id9c9b8ecc01d232becd5dd8741509c104a8b6e19
2023-05-26 12:58:14 -07:00
Elliott Hughes
d192dbecf0 time.h: add doc comments.
C23 adds timegm(), gmtime_r(), and localtime_r(). We should remove the
"non-standard" text for timegm(), and while I'm here, let's just
document everything in this file.

Test: treehugger
Change-Id: Ia44c1bd155c939f694f6f8138b9cb7503519522c
2023-05-26 09:13:41 -07:00
Christopher Ferris
80b551ddc4 Fix benchmark unit tests.
Add benchmark file dependency in tests instead of using hard-coded
path to bionic-benchmarks.

In addition, add a TEST_MAPPING file so the tests run when benchmark files change.

Test: All unit tests pass.
Test: Ran atest bionic-benchmarks-tests.
Change-Id: I95608f5b5e75d9d74930960a2431c9896b621ce8
2023-05-26 01:20:56 -07:00
Treehugger Robot
5a5c519743 Merge "Nullability check for nameser module." am: 0d522dedc9 am: 6d2886fbf1 am: 0f6c264da4
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2552564

Change-Id: Id68afcdea03331d8081582113acd6ace3778b289
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-26 03:06:49 +00:00
Treehugger Robot
0f6c264da4 Merge "Nullability check for nameser module." am: 0d522dedc9 am: 6d2886fbf1
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2552564

Change-Id: I18a4b5645589ea97fd8867348c30f37b7f3c3ba5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-26 02:17:31 +00:00
Treehugger Robot
6d2886fbf1 Merge "Nullability check for nameser module." am: 0d522dedc9
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2552564

Change-Id: If2b8b1d0edcd686adb37cc29d3dc6c142de1a7fd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-26 01:11:11 +00:00
Treehugger Robot
0d522dedc9 Merge "Nullability check for nameser module." 2023-05-26 00:18:02 +00:00
zijunzhao
c412f654c5 Nullability check for nameser module.
Bugs: b/245972273
Test: adb shell
Change-Id: I96a4616d1a758d0f04af5d7f0fb8a0206f068b6a
2023-05-25 21:47:11 +00:00
Treehugger Robot
ea05cc73cd Merge "Nullability check for inet module." am: 2b12a6ed5f am: 40df9116a6 am: fba80e7172
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2587988

Change-Id: I8535a9295df7998fe169eae8a8b9046cf58402d7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-25 03:08:00 +00:00
Treehugger Robot
fba80e7172 Merge "Nullability check for inet module." am: 2b12a6ed5f am: 40df9116a6
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2587988

Change-Id: I4dad88b30d076a592c9939d3cab6bcd7acadaeed
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-25 02:22:09 +00:00
Treehugger Robot
40df9116a6 Merge "Nullability check for inet module." am: 2b12a6ed5f
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2587988

Change-Id: I6031647755f87083c48bb8495cf44135ce261ac1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-25 01:38:39 +00:00
Treehugger Robot
2b12a6ed5f Merge "Nullability check for inet module." 2023-05-25 00:58:10 +00:00
zijunzhao
bf627f4292 Nullability check for inet module.
Bugs: b/245972273
Test: adb shell
Change-Id: I5acb1910f25dc025e1c8924ebf8b6801503f5161
2023-05-24 22:02:49 +00:00