Dan Albert
8f93e21050
Enable testing C++ coroutines TS.
...
am: fd86c1f3ed
Change-Id: If3c6543c0f018c35b43ab3a0f78d9a5ef0eb77f7
2019-02-28 17:18:53 -08:00
Dan Albert
fd86c1f3ed
Enable testing C++ coroutines TS.
...
Test: ./run_tests.py --bitness 32
Test: ./run_tests.py --bitness 64
Test: ./run_tests.py --bitness 64 --host
Bug: None
Change-Id: I620c999b6c156129257d3937b0893f45a6d3fddd
2019-02-28 15:11:47 -08:00
Xin Li
cec21a6005
Merge stage-aosp-master into pi-dev-plus-aosp
...
am: 0e3567c3b1
Change-Id: I172e4f4ab9b53a21bff03eae33cec3350ac759b6
2019-02-25 04:08:07 -08:00
Xin Li
0e3567c3b1
Merge stage-aosp-master into pi-dev-plus-aosp
...
Bug: 126125118
Change-Id: I5f8be3670a6705f82c90de8b349b7cf78152bd48
2019-02-25 00:28:42 -08:00
Xin Li
97de5420eb
DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master
...
Bug: 120848293
Change-Id: I364478c4ab96d4172373310c970402b32a0a17b6
2019-02-20 16:18:31 -08:00
Josh Gao
0162a2440d
Functionally revert "config: disable thread safety analysis on COFF". am: 0680af7288 am: 9168854bc9
...
am: 40a97db909
Change-Id: I060914da4e60b8b8743cd3eb638f78c5b04ca1f0
2019-02-14 13:07:51 -08:00
Josh Gao
40a97db909
Functionally revert "config: disable thread safety analysis on COFF". am: 0680af7288
...
am: 9168854bc9
Change-Id: Ie838a0f305a807d0877ba2941d5f36d092233da4
2019-02-14 13:03:55 -08:00
Josh Gao
9168854bc9
Functionally revert "config: disable thread safety analysis on COFF".
...
am: 0680af7288
Change-Id: If5095bef331101fd2f21c29ce7c89b97fee86052
2019-02-14 12:59:45 -08:00
Josh Gao
0680af7288
Functionally revert "config: disable thread safety analysis on COFF".
...
We don't use shared libraries on Windows anyway, so this shouldn't hurt
us, even if the bug in clang hasn't been fixed since the commit went in
two years ago.
Bug: http://b/124392080
Change-Id: Id562ac2bb64f1a384caa1553d2eeddd8371cf2ba
2019-02-13 14:40:20 -08:00
Dan Albert
3930c1250d
Merge to upstream r350972. am: e4b6d367d4 am: 44312eb8e9
...
am: 46efb905d4
Change-Id: I347911902b00e30a0788e6384fbf08c1eda71c68
2019-01-16 10:27:08 -08:00
Dan Albert
46efb905d4
Merge to upstream r350972. am: e4b6d367d4
...
am: 44312eb8e9
Change-Id: Id0932b81093312d6c88ae0654faaf37b84c3ce99
2019-01-16 10:15:37 -08:00
Dan Albert
44312eb8e9
Merge to upstream r350972.
...
am: e4b6d367d4
Change-Id: I5d25f3049e395f1b66829140a87e6c94f68f5703
2019-01-16 10:05:47 -08:00
Dan Albert
e4b6d367d4
Merge to upstream r350972.
...
Test: ./run_tests.py --bitness 32
Test: ./run_tests.py --bitness 64
Test: ./run_tests.py --bitness 64 --host
Bug: None
Change-Id: I96552544c8305853be519855982caf716930519e
2019-01-11 14:07:42 -08:00
Marshall Clow
749373168d
Change from a to a . Fixes PR#39871.
...
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@350972 91177308-0d34-0410-b5e6-96231b3b80d8
2019-01-11 21:57:12 +00:00
Dan Albert
35b46139a7
Fix tests for Android. am: 5ca76f3cd2 am: c690000257
...
am: 3f1f808382
Change-Id: Iadb44d4a01b01a691b449e483345d994f9e3a09b
2019-01-11 11:43:18 -08:00
Dan Albert
2d28526a1e
Add std::filesystem support. am: 4d4d6a8f06 am: 2c63c44fc2
...
am: 2c879a6c6a
Change-Id: I0fad50fa373bc84287181920a31b5b7f7bdc73b8
2019-01-11 11:43:06 -08:00
Dan Albert
3f1f808382
Fix tests for Android. am: 5ca76f3cd2
...
am: c690000257
Change-Id: Ief6606fa605988d7e3871d3fb5b8efca16b537bd
2019-01-11 11:11:27 -08:00
Dan Albert
2c879a6c6a
Add std::filesystem support. am: 4d4d6a8f06
...
am: 2c63c44fc2
Change-Id: I83c27f29f939b04c24402d9f1cb8358a039b3dbb
2019-01-11 11:11:17 -08:00
Dan Albert
c690000257
Fix tests for Android.
...
am: 5ca76f3cd2
Change-Id: Ie98e9e08ff4eb1677f18208ad7859e3e0a278d7c
2019-01-11 10:52:02 -08:00
Dan Albert
2c63c44fc2
Add std::filesystem support.
...
am: 4d4d6a8f06
Change-Id: I86e34e6f262b4136dcd98453d3a672cd9da6f758
2019-01-11 10:51:55 -08:00
Adhemerval Zanella
7aafc4d66a
[libcxx] Call __count_bool_true for bitset count
...
This patch aims to help clang with better information so it can inline
__bit_reference count function usage for both std::biset. Current clang
inliner can not infer that the passed typed will be used only to select
the optimized variant, it evaluates the type argument and type check as
a load plus compare (although later optimization phases correctly
optimized this out).
It is mainly to help llvm inliner to generate better code for std::bitset
count for aarch64. It helps on both runtime and code size, since if inline
decides that _VSTD::count should not be inlined the vectorization will
create both aligned and unaligned variants (which add both code size and
runtime costs)
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@350936 91177308-0d34-0410-b5e6-96231b3b80d8
2019-01-11 17:31:17 +00:00
Marshall Clow
ef48e7bcce
Don't use the form '2017y' in tests, since some gcc versions don't allow it
...
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@350930 91177308-0d34-0410-b5e6-96231b3b80d8
2019-01-11 15:45:56 +00:00
Marshall Clow
8d42566e70
Implement the 'sys_time' portions of the C++20 calendaring stuff. Reviewed as D56494
...
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@350929 91177308-0d34-0410-b5e6-96231b3b80d8
2019-01-11 15:12:04 +00:00
Dan Albert
5ca76f3cd2
Fix tests for Android.
...
Test: ./run_tests.py --bitness 32
Test: ./run_tests.py --bitness 64
Test: ./run_tests.py --bitness 64 --host
Bug: None
Change-Id: I8746cdf3e5dd57603a2487b7d9b082b3cd8f8474
2019-01-10 21:26:50 -08:00
Dan Albert
4d4d6a8f06
Add std::filesystem support.
...
Test: ./run_tests.py --bitness 32
Test: ./run_tests.py --bitness 64
Test: ./run_tests.py --bitness 64 --host
Bug: None
Change-Id: Ie277f503b754321eba04b906fa4ee6d670b2c1b2
2019-01-10 21:26:33 -08:00
Dan Albert
fc908fc3e3
Merge changes Ifc661bd2,Iba4ed7be am: b2ed3ee88f am: 75ad1be5d6
...
am: c1655c08ce
Change-Id: Ifb7e69abe96dcf40dafffb7e41adac68f114fbe8
2019-01-10 12:25:15 -08:00
Dan Albert
c1655c08ce
Merge changes Ifc661bd2,Iba4ed7be am: b2ed3ee88f
...
am: 75ad1be5d6
Change-Id: I4ccc2a35f603e2bf68f7e8c0d7190d6d4d10f5ae
2019-01-10 12:21:13 -08:00
Dan Albert
75ad1be5d6
Merge changes Ifc661bd2,Iba4ed7be
...
am: b2ed3ee88f
Change-Id: I76a2e76aee12ebde2e48a72e4569c2238de274f9
2019-01-10 12:16:37 -08:00
Treehugger Robot
b2ed3ee88f
Merge changes Ifc661bd2,Iba4ed7be
...
* changes:
Run device tests as the shell user.
Remove dead code.
2019-01-10 20:09:43 +00:00
Louis Dionne
134a848236
[libcxx] Reorganize tests since the application of P0602R4
...
Summary:
P0602R4 makes the special member functions of optional and variant
conditionally trivial based on the types in the optional/variant.
We already implemented that, but the tests were organized as if this
were a non-standard extension. This patch reorganizes the tests in a
way that makes more sense since this is not an extension anymore.
Reviewers: EricWF, mpark, mclow.lists
Subscribers: christof, jkorous, dexonsmith, libcxx-commits
Differential Revision: https://reviews.llvm.org/D54772
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@350884 91177308-0d34-0410-b5e6-96231b3b80d8
2019-01-10 20:06:11 +00:00
JF Bastien
4fb9e8f89a
Filesystem tests: fix fs.op.relative
...
Summary: The test wasn't using the testing infrastructure properly.
Reviewers: ldionne, mclow.lists, EricWF
Subscribers: christof, jkorous, dexonsmith, libcxx-commits
Differential Revision: https://reviews.llvm.org/D56519
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@350872 91177308-0d34-0410-b5e6-96231b3b80d8
2019-01-10 18:50:34 +00:00
Dan Albert
d968fba5d8
Add and test libc++experimental. am: fc8f268b2c am: 8f5121bfe4
...
am: 5b1727ad24
Change-Id: I4b3d72adc757a617f6a852490b224fa60044cace
2019-01-09 23:32:54 -08:00
Dan Albert
5b1727ad24
Add and test libc++experimental. am: fc8f268b2c
...
am: 8f5121bfe4
Change-Id: Id494191ad7ec302b8668f157a3a81d90e470222d
2019-01-09 23:28:52 -08:00
Dan Albert
8f5121bfe4
Add and test libc++experimental.
...
am: fc8f268b2c
Change-Id: Ia057c6da25825fcc3a3b69cc4cfe0e9563674050
2019-01-09 23:24:52 -08:00
Dan Albert
35cb7a0541
Run device tests as the shell user.
...
A handful of the std::filesystem tests assume non-root (such as
checking readability of a file that has mode 000). We probably
shouldn't be running as root for these tests anyway.
Test: ./run_tests.py --bitness 32
Test: ./run_tests.py --bitness 64
Bug: None
Change-Id: Ifc661bd245c3d802d8816d1c098b0e47d011c4fa
2019-01-09 22:17:50 -08:00
Dan Albert
fc8f268b2c
Add and test libc++experimental.
...
Test: ./run_tests.py --bitness 32
Test: ./run_tests.py --bitness 64
Test: ./run_tests.py --bitness 64 --host
Bug: None
Change-Id: I9f712f8f73a8335aadf82af6686158de819442be
2019-01-09 21:29:39 -08:00
JF Bastien
a131ebfcaf
[NFC] Always lock free test: add indirection
...
I have a big patch coming up, and this indirection is required to avoid hitting the following after my big change:
error: empty struct has size 0 in C, size 1 in C++ [-Werror,-Wextern-c-compat]
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@350772 91177308-0d34-0410-b5e6-96231b3b80d8
2019-01-09 23:20:24 +00:00
JF Bastien
668faeab19
[NFC] Normalize some test 'main' signatures
...
There were 3 tests with 'int main(void)', and 6 with the return type on a different line. I'm about to send a patch for main in tests, and this NFC change is unrelated.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@350770 91177308-0d34-0410-b5e6-96231b3b80d8
2019-01-09 22:56:45 +00:00
Dan Albert
a319cc895c
Remove dead code.
...
Test: ./run_tests.py --bitness 32
Test: ./run_tests.py --bitness 64
Bug: None
Change-Id: Iba4ed7bedf092bf642ba135230c405b29f082e05
2019-01-09 14:28:25 -08:00
Dan Albert
012c19be86
Adapt to upstream changes. am: 91714f98f6 am: 11de29b958
...
am: 91a5a34028
Change-Id: I44ee010d81c27fb14c86ed298cafac89cec60bf8
2019-01-09 12:10:43 -08:00
Dan Albert
e7f7436c33
Merge to upstream r348296. am: 40cbe812b7 am: dcbb30cd38
...
am: ceec1c2d70
Change-Id: I75409aebd1e01f9f8e645d3227298dd22f729f23
2019-01-09 12:10:32 -08:00
Dan Albert
91a5a34028
Adapt to upstream changes. am: 91714f98f6
...
am: 11de29b958
Change-Id: I55e099fc4838568f1273e4c92e81827fc7c5e81e
2019-01-09 11:45:07 -08:00
Dan Albert
ceec1c2d70
Merge to upstream r348296. am: 40cbe812b7
...
am: dcbb30cd38
Change-Id: Iab504f4ce2e5d1129697043a8f19bb6aba898a76
2019-01-09 11:44:56 -08:00
Louis Dionne
0ef5c29792
[libcxx] Add a script to run CI on older MacOS versions
...
This script can be used by CI systems to test things like availability
markup and binary compatibility on older MacOS versions. This is still
a bit rough on the edges, for example we don't test libc++abi yet.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@350752 91177308-0d34-0410-b5e6-96231b3b80d8
2019-01-09 19:40:20 +00:00
Dan Albert
11de29b958
Adapt to upstream changes.
...
am: 91714f98f6
Change-Id: I2dec68ca1e35fd416904a8d0fc93d6d1a090cd2b
2019-01-09 11:35:09 -08:00
Dan Albert
dcbb30cd38
Merge to upstream r348296.
...
am: 40cbe812b7
Change-Id: If62121455fe67ff5d2e0a4d7c23f0c419948d013
2019-01-09 11:35:02 -08:00
Louis Dionne
504008e535
[libcxx] Add a script to run CI on MacOS
...
CI systems like Green Dragon should use this script so as to make
reproducing errors easy locally.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@350740 91177308-0d34-0410-b5e6-96231b3b80d8
2019-01-09 16:35:55 +00:00
Eric Fiselier
350f501ab7
Mark two UDL tests as being unsupported with Clang 7
...
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@350739 91177308-0d34-0410-b5e6-96231b3b80d8
2019-01-09 16:34:17 +00:00
Louis Dionne
ee53ced93e
[libcxx] Remove outdated XFAILs for aligned deallocation
...
AppleClang 10 has been fixed and so these tests don't fail anymore.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@350736 91177308-0d34-0410-b5e6-96231b3b80d8
2019-01-09 16:13:04 +00:00
Eric Fiselier
cd72c52980
Mark two more tests as FLAKY
...
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@350692 91177308-0d34-0410-b5e6-96231b3b80d8
2019-01-09 05:48:54 +00:00