Commit Graph

6104 Commits

Author SHA1 Message Date
Dan Albert
d4c0159f1a [automerger skipped] DO NOT MERGE: Fix bug in random. am: 188246de28 -s ours am: f7c9cee159 -s ours am: 5d8e33dc3b
am: abb6e0eaea

Change-Id: I036cf1841296a8d3541f85ddf6b6af791e9c04cb
2019-09-16 13:26:27 -07:00
Dan Albert
abb6e0eaea [automerger skipped] DO NOT MERGE: Fix bug in random. am: 188246de28 -s ours am: f7c9cee159 -s ours
am: 5d8e33dc3b

Change-Id: Icf03abb8c5e14be613898fbcc337fbebf87de18f
2019-09-16 13:19:26 -07:00
Dan Albert
5d8e33dc3b [automerger skipped] DO NOT MERGE: Fix bug in random. am: 188246de28 -s ours
am: f7c9cee159 -s ours
am skip reason: subject contains skip directive

Change-Id: I1f741eee132b134939cee8a66f5558d9be4af7f8
2019-09-16 13:13:04 -07:00
Dan Albert
f7c9cee159 [automerger skipped] DO NOT MERGE: Fix bug in random.
am: 188246de28 -s ours
am skip reason: subject contains skip directive

Change-Id: Id9f19c6cb973bd6313772dc0edbe0f5f7f648f31
2019-09-16 13:07:04 -07:00
Dan Albert
f2239112f1 Merge changes I71708114,Ice92a8ea,Icc81b5f6 into pi-dev am: 74bbe171bb am: 8e233cb5c6
am: 11569624aa

Change-Id: Ia24ff7316888c10dd36722d7f374558afd092bad
2019-09-16 12:42:33 -07:00
Dan Albert
6206713fe8 [automerger skipped] DO NOT MERGE: Fix bug in random. am: 01ed1e9c7b -s ours am: 4c056ce646
am: 7858a1bf96

Change-Id: I8a98e392b16e8adf845a79e08cb440ef09900d5e
2019-09-16 12:42:29 -07:00
Dan Albert
11569624aa Merge changes I71708114,Ice92a8ea,Icc81b5f6 into pi-dev am: 74bbe171bb
am: 8e233cb5c6

Change-Id: I4b54697533c5c92f2a0bb3e8aada41746c4b637c
2019-09-16 12:34:32 -07:00
Dan Albert
7858a1bf96 [automerger skipped] DO NOT MERGE: Fix bug in random. am: 01ed1e9c7b -s ours
am: 4c056ce646

Change-Id: I01cdc10fa37bfa77d10e45f2b83a365f710b63c3
2019-09-16 12:34:27 -07:00
Dan Albert
8e233cb5c6 Merge changes I71708114,Ice92a8ea,Icc81b5f6 into pi-dev
am: 74bbe171bb

Change-Id: I596577098430bf27c7817aaa71ec10a13a44c609
2019-09-16 12:27:58 -07:00
Dan Albert
4c056ce646 [automerger skipped] DO NOT MERGE: Fix bug in random.
am: 01ed1e9c7b -s ours
am skip reason: subject contains skip directive

Change-Id: I4cb1a4848ba0f07eef10dde43161bad22152ffc1
2019-09-16 12:27:56 -07:00
TreeHugger Robot
74bbe171bb Merge changes I71708114,Ice92a8ea,Icc81b5f6 into pi-dev
* changes:
  DO NOT MERGE: Fix bug in random.
  DO NOT MERGE: [libc++] Move __clamp_to_integral to <cmath>, and harden against min()/max() macros
  DO NOT MERGE: [libc++] Add `__truncating_cast` for safely casting float types to integers
2019-09-16 19:16:10 +00:00
Dan Albert
fda98a6aa7 Merge changes I71708114,Ice92a8ea,I300b6565 into qt-dev am: 0540b9fc0b
am: 93fa160993

Change-Id: I039ea994b15db94f26e1c0e106046751fa663477
2019-09-13 23:37:51 -07:00
Dan Albert
93fa160993 Merge changes I71708114,Ice92a8ea,I300b6565 into qt-dev
am: 0540b9fc0b

Change-Id: I874bfe8e7f05e4f0fa107108607fd864afdeec5d
2019-09-13 23:32:00 -07:00
TreeHugger Robot
0540b9fc0b Merge changes I71708114,Ice92a8ea,I300b6565 into qt-dev
* changes:
  Fix bug in random.
  [libc++] Move __clamp_to_integral to <cmath>, and harden against min()/max() macros
  [libc++] Add `__truncating_cast` for safely casting float types to integers
2019-09-14 06:12:53 +00:00
Louis Dionne
1f6fdc4fc8 [automerger skipped] DO NOT MERGE: [libc++] Move __clamp_to_integral to <cmath>, and harden against min()/max() macros am: 280d459517 -s ours am: 2a6b690b1d -s ours am: 00305f086b
am: 6bda858567

Change-Id: I120cc0456fb9fe4ab3bf43392a181f4ac950c8e2
2019-09-13 20:54:22 -07:00
Louis Dionne
d9dc534c74 [automerger skipped] DO NOT MERGE: [libc++] Add __truncating_cast for safely casting float types to integers am: baeddde44d -s ours am: c05874bc7f -s ours am: 88e2778807
am: 43b3af6225

Change-Id: Ib86b47838d8ec6e8cc34dd334a75c91de6285e9a
2019-09-13 20:54:17 -07:00
Louis Dionne
6bda858567 [automerger skipped] DO NOT MERGE: [libc++] Move __clamp_to_integral to <cmath>, and harden against min()/max() macros am: 280d459517 -s ours am: 2a6b690b1d -s ours
am: 00305f086b

Change-Id: I1d7d9299aa3c34bb8a957d229f7260e030655696
2019-09-13 20:47:51 -07:00
Louis Dionne
43b3af6225 [automerger skipped] DO NOT MERGE: [libc++] Add __truncating_cast for safely casting float types to integers am: baeddde44d -s ours am: c05874bc7f -s ours
am: 88e2778807

Change-Id: I9b2da949187f515aebc8f8d55cf4c90340b07b5a
2019-09-13 20:47:46 -07:00
Louis Dionne
00305f086b [automerger skipped] DO NOT MERGE: [libc++] Move __clamp_to_integral to <cmath>, and harden against min()/max() macros am: 280d459517 -s ours
am: 2a6b690b1d -s ours
am skip reason: subject contains skip directive

Change-Id: Ia0119dff04bbfa079557d8ef584a33015a8a026b
2019-09-13 20:41:17 -07:00
Louis Dionne
88e2778807 [automerger skipped] DO NOT MERGE: [libc++] Add __truncating_cast for safely casting float types to integers am: baeddde44d -s ours
am: c05874bc7f -s ours
am skip reason: subject contains skip directive

Change-Id: Ib6288231862ab8412834eadbc4969dc3c287b920
2019-09-13 20:41:14 -07:00
Louis Dionne
2a6b690b1d [automerger skipped] DO NOT MERGE: [libc++] Move __clamp_to_integral to <cmath>, and harden against min()/max() macros
am: 280d459517 -s ours
am skip reason: subject contains skip directive

Change-Id: I001eb20e4ab08eb7b6ad1071aaeedc444f3fbfb2
2019-09-13 20:34:45 -07:00
Louis Dionne
c05874bc7f [automerger skipped] DO NOT MERGE: [libc++] Add __truncating_cast for safely casting float types to integers
am: baeddde44d -s ours
am skip reason: subject contains skip directive

Change-Id: I221f8d2e33ebe88267c42f4784c9ccee87c510e7
2019-09-13 20:34:43 -07:00
Dan Albert
819e8133bd Fix bug in random.
Test: ./run_test.py --bitness 32
Test: ./run_test.py --bitness 64
Test: ./run_test.py --bitness 64 --host
Bug: https://bugs.chromium.org/p/chromium/issues/detail?id=994957
Bug: http://b/139690488
Change-Id: I71708114d7fc8ed90c30b4d32b01d3f3aef7600b
(cherry picked from commit a1d1caa3d831030ce802ed335a9743180911d553)
2019-09-13 18:07:48 -07:00
Louis Dionne
44a8861f2c [libc++] Move __clamp_to_integral to <cmath>, and harden against min()/max() macros
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@370900 91177308-0d34-0410-b5e6-96231b3b80d8
(cherry picked from commit 87e6185621d332d2ef8695b94778663380c83bb9)

Bug: https://bugs.chromium.org/p/chromium/issues/detail?id=994957
Bug: http://b/139690488
Change-Id: Ice92a8ea6f675be069a70c5ad1003cf99b4fc474
(cherry picked from commit 82e0483c4a47233ed2f7bab545b32e5ddd474e59)
2019-09-13 18:07:32 -07:00
Louis Dionne
34d1dd71fa [libc++] Add __truncating_cast for safely casting float types to integers
This is needed anytime we need to clamp an arbitrary floating point
value to an integer type.

Thanks to Eric Fiselier for the patch.

Differential Revision: https://reviews.llvm.org/D66836

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@370891 91177308-0d34-0410-b5e6-96231b3b80d8
(cherry picked from commit c9ac8d533010d8915bcfdecab891fb451f71ce74)
(cherry picked from commit 4561f55204960c0b3bc4594089ddcf56e5655cad)

Bug: https://bugs.chromium.org/p/chromium/issues/detail?id=994957
Bug: http://b/139690488
Change-Id: I300b6565137b51bb3051bb629ec3316edf7f71e9
2019-09-13 18:07:13 -07:00
Dan Albert
ff9f38b28b [automerger skipped] DO NOT MERGE: Suppress warnings in tests. am: bb8457c3f4 -s ours am: 4da6874156
am: 6d385bfc4f

Change-Id: I1f7219ca99283a423d216d4c983c48bfef9ae4c0
2019-09-13 16:42:15 -07:00
Dan Albert
6d385bfc4f [automerger skipped] DO NOT MERGE: Suppress warnings in tests. am: bb8457c3f4 -s ours
am: 4da6874156

Change-Id: If1680d371d39e5b692877b40024c09a1c0cc1454
2019-09-13 16:35:12 -07:00
Dan Albert
4da6874156 [automerger skipped] DO NOT MERGE: Suppress warnings in tests.
am: bb8457c3f4 -s ours
am skip reason: subject contains skip directive

Change-Id: Iebd963b473cb4cd7699de6203b31691aff868ecf
2019-09-13 16:28:09 -07:00
Dan Albert
01ed1e9c7b DO NOT MERGE: Fix bug in random.
Test: ./run_test.py --bitness 32
Test: ./run_test.py --bitness 64
Test: ./run_test.py --bitness 64 --host
Bug: https://bugs.chromium.org/p/chromium/issues/detail?id=994957
Bug: http://b/139690488
Change-Id: I71708114d7fc8ed90c30b4d32b01d3f3aef7600b
(cherry picked from commit a1d1caa3d831030ce802ed335a9743180911d553)
2019-09-13 14:44:21 -07:00
Louis Dionne
c2ca4c16d1 DO NOT MERGE: [libc++] Move __clamp_to_integral to <cmath>, and harden against min()/max() macros
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@370900 91177308-0d34-0410-b5e6-96231b3b80d8
(cherry picked from commit 87e6185621d332d2ef8695b94778663380c83bb9)

Bug: https://bugs.chromium.org/p/chromium/issues/detail?id=994957
Bug: http://b/139690488
Change-Id: Ice92a8ea6f675be069a70c5ad1003cf99b4fc474
(cherry picked from commit 82e0483c4a47233ed2f7bab545b32e5ddd474e59)
2019-09-13 14:44:21 -07:00
Louis Dionne
66ddc699d1 DO NOT MERGE: [libc++] Add __truncating_cast for safely casting float types to integers
This is needed anytime we need to clamp an arbitrary floating point
value to an integer type.

Thanks to Eric Fiselier for the patch.

Differential Revision: https://reviews.llvm.org/D66836

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@370891 91177308-0d34-0410-b5e6-96231b3b80d8
(cherry picked from commit c9ac8d533010d8915bcfdecab891fb451f71ce74)
(cherry picked from commit 4561f55204960c0b3bc4594089ddcf56e5655cad)

Bug: https://bugs.chromium.org/p/chromium/issues/detail?id=994957
Bug: http://b/139690488
Change-Id: Icc81b5f68f0f87b74ccd4eba5971fd1e14ef13a5
2019-09-13 14:44:16 -07:00
Dan Albert
188246de28 DO NOT MERGE: Fix bug in random.
Test: ./run_test.py --bitness 32
Test: ./run_test.py --bitness 64
Test: ./run_test.py --bitness 64 --host
Bug: https://bugs.chromium.org/p/chromium/issues/detail?id=994957
Bug: http://b/139690488
Change-Id: I71708114d7fc8ed90c30b4d32b01d3f3aef7600b
(cherry picked from commit a1d1caa3d831030ce802ed335a9743180911d553)
2019-09-13 14:42:11 -07:00
Louis Dionne
280d459517 DO NOT MERGE: [libc++] Move __clamp_to_integral to <cmath>, and harden against min()/max() macros
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@370900 91177308-0d34-0410-b5e6-96231b3b80d8
(cherry picked from commit 87e6185621d332d2ef8695b94778663380c83bb9)

Bug: https://bugs.chromium.org/p/chromium/issues/detail?id=994957
Bug: http://b/139690488
Change-Id: Ice92a8ea6f675be069a70c5ad1003cf99b4fc474
(cherry picked from commit 82e0483c4a47233ed2f7bab545b32e5ddd474e59)
2019-09-13 14:42:11 -07:00
Louis Dionne
baeddde44d DO NOT MERGE: [libc++] Add __truncating_cast for safely casting float types to integers
This is needed anytime we need to clamp an arbitrary floating point
value to an integer type.

Thanks to Eric Fiselier for the patch.

Differential Revision: https://reviews.llvm.org/D66836

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@370891 91177308-0d34-0410-b5e6-96231b3b80d8
(cherry picked from commit c9ac8d533010d8915bcfdecab891fb451f71ce74)
(cherry picked from commit 4561f55204960c0b3bc4594089ddcf56e5655cad)

Bug: https://bugs.chromium.org/p/chromium/issues/detail?id=994957
Bug: http://b/139690488
Change-Id: Ibfa9f6465214466511e3d35b02eb3b77488050e7
2019-09-13 14:41:23 -07:00
Dan Albert
bb8457c3f4 DO NOT MERGE: Suppress warnings in tests.
Test: ./run_tests.py
Bug: https://bugs.chromium.org/p/chromium/issues/detail?id=994957
Bug: http://b/139690488
Change-Id: I6ac409b692c7b949d3237a1fa824e90652e3c1c3
2019-09-13 14:38:29 -07:00
Dan Albert
c2bc23c46f Fix tests for soong change. am: 45f1d99044 am: 32e8014cfb
am: f6f2994cdf

Change-Id: If89126637a7752aa5b199480ca0d79b53923269a
2019-08-21 19:15:21 -07:00
Dan Albert
f6f2994cdf Fix tests for soong change. am: 45f1d99044
am: 32e8014cfb

Change-Id: I71d39bd202bcf0de05890fdf7ba692a075a7bad1
2019-08-21 19:04:08 -07:00
Dan Albert
32e8014cfb Fix tests for soong change.
am: 45f1d99044

Change-Id: If6ae1bd5b62e5ffded81abddb04b4b84539fb365
2019-08-21 18:53:07 -07:00
Dan Albert
45f1d99044 Fix tests for soong change.
Test: ./run_tests.py
Bug: None
Change-Id: I235225f449e3e3d0bb17c5d0c28d2acd8acfa6c9
2019-08-21 16:31:48 -07:00
dimitry
b966a7fd96 libcxx supports native_bridge am: a44472d932
am: 81231c9ecd

Change-Id: Ib3f680f901e98bb1be0ebcbdf27ab47b38ac6a94
2019-05-07 13:09:32 -07:00
dimitry
81231c9ecd libcxx supports native_bridge
am: a44472d932

Change-Id: Ibd6afd0a280e8d7ca5c7c130d221c0bcbda38f15
2019-05-07 12:57:24 -07:00
dimitry
a44472d932 libcxx supports native_bridge
The library can be used to  build binaries
for translated architectures.

Bug: http://b/77159578
Test: make
Change-Id: I3c41a52d599bae2c50feb937267295d9ea8844ca
2019-05-06 12:37:14 +02:00
Bowgo Tsai
887bdbbd7e [automerger skipped] Adding libc++fs to recovery available
am: b0178936b6 -s ours
am skip reason: change_id I4012f99bcfacf57e45f9f7fd04f76311c279a914 with SHA1 9c713b6c43 is in history

Change-Id: Ic3fe990349b7edda6ad5e28767bea72021d76f64
2019-04-22 13:59:13 -07:00
Bowgo Tsai
8bc34a0206 Adding libc++fs to recovery available am: 9c713b6c43
am: 9cbdf50bd7

Change-Id: Ie66deaa14bfc5a5663cc184e1fd7bdde4338c138
2019-04-19 17:45:42 -07:00
Bowgo Tsai
9cbdf50bd7 Adding libc++fs to recovery available
am: 9c713b6c43

Change-Id: I20c79b0efe88cf46fb150d246279f0c0ff370cb0
2019-04-19 17:13:26 -07:00
Bowgo Tsai
b0178936b6 Adding libc++fs to recovery available
This is for init, which is recovery available, to use std::filesystem.

Bug: 126493225
Test: build pass
Change-Id: I4012f99bcfacf57e45f9f7fd04f76311c279a914
Merged-In: I4012f99bcfacf57e45f9f7fd04f76311c279a914
(cherry picked from commit 9c713b6c43)
2019-04-20 07:59:58 +08:00
Bowgo Tsai
9c713b6c43 Adding libc++fs to recovery available
This is for init, which is recovery available, to use std::filesystem.

Bug: 126493225
Test: build pass
Change-Id: I4012f99bcfacf57e45f9f7fd04f76311c279a914
2019-04-17 17:26:22 +08:00
Dan Albert
5ed7dee326 Enable testing C++ coroutines TS. am: fd86c1f3ed am: 8f93e21050
am: 4875204a2e

Change-Id: I0763c4dd6e818abcd651d6861ad603e91748b27e
2019-02-28 17:40:37 -08:00
Dan Albert
4875204a2e Enable testing C++ coroutines TS. am: fd86c1f3ed
am: 8f93e21050

Change-Id: I7be27a5fa7607f2f9f7844e4ad01dbea7bce2288
2019-02-28 17:23:36 -08:00
Dan Albert
8f93e21050 Enable testing C++ coroutines TS.
am: fd86c1f3ed

Change-Id: If3c6543c0f018c35b43ab3a0f78d9a5ef0eb77f7
2019-02-28 17:18:53 -08:00