forked from ARM-software/LLVM-embedded-toolchain-for-Arm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert commits for changes that did not make it into LLVM-19
The following changes to LLVM ET were made in response to changes in LLVM which happened after the LLVM 19 branch, and therefore do not need to be on our branch either: Statically link libc++abi into libc++ (ARM-software#483) e80e252 Update a downstream patch for altered context (NFC) d95a4fa Fix a patch conflict in libc++ tests. 7616f8c Do not default to linking crt0 when using crt0-semihosting (ARM-software#460) 39523a0 Remove patch since llvm sort.pass.cpp is already marked as a long test (ARM-software#458) 3b32a82 Update patch file for libc++ tests with picolibc, to mark sort test as long one (ARM-software#457) 9a53fc9
- Loading branch information
Showing
22 changed files
with
95 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 0 additions & 26 deletions
26
patches/llvm-project/0001-libc-tests-with-picolibc-xfail-one-remaining-test.patch
This file was deleted.
Oops, something went wrong.
43 changes: 43 additions & 0 deletions
43
patches/llvm-project/0001-libc-tests-with-picolibc-xfail-two-remaining-tests.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
From cb6cfe0e5fc29d3867f523900f0d46a4ef5dff1b Mon Sep 17 00:00:00 2001 | ||
From: =?UTF-8?q?Dominik=20W=C3=B3jt?= <dominik.wojt@arm.com> | ||
Date: Mon, 16 Oct 2023 11:35:48 +0200 | ||
Subject: [libc++] tests with picolibc: xfail two remaining tests | ||
|
||
--- | ||
.../cmp/cmp.alg/strong_order_long_double.verify.cpp | 5 +++++ | ||
.../language.support/support.start.term/quick_exit.pass.cpp | 3 +++ | ||
2 files changed, 8 insertions(+) | ||
|
||
diff --git a/libcxx/test/std/language.support/cmp/cmp.alg/strong_order_long_double.verify.cpp b/libcxx/test/std/language.support/cmp/cmp.alg/strong_order_long_double.verify.cpp | ||
index c9c2ba200214..4898a9a06e09 100644 | ||
--- a/libcxx/test/std/language.support/cmp/cmp.alg/strong_order_long_double.verify.cpp | ||
+++ b/libcxx/test/std/language.support/cmp/cmp.alg/strong_order_long_double.verify.cpp | ||
@@ -12,6 +12,11 @@ | ||
// This test does apply to aarch64 where Arm's AAPCS64 is followed. There they are different sizes. | ||
// XFAIL: target={{arm64|arm64e|armv(7|8)(l|m)?|powerpc|powerpc64}}-{{.+}} | ||
|
||
+// In internal LLVM arm BMT tests the target is fixed to "arm-none-eabi", so the | ||
+// "unsupported" cluase above does not work. TODO: find more generic way to | ||
+// detect equal sizes of double and long double | ||
+// XFAIL: LIBCXX-PICOLIBC-FIXME | ||
+ | ||
// MSVC configurations have long double equal to regular double on all | ||
// architectures. | ||
// XFAIL: target={{.+}}-pc-windows-msvc | ||
diff --git a/libcxx/test/std/language.support/support.start.term/quick_exit.pass.cpp b/libcxx/test/std/language.support/support.start.term/quick_exit.pass.cpp | ||
index 5a70ea5bd570..92dfbe8eb1ab 100644 | ||
--- a/libcxx/test/std/language.support/support.start.term/quick_exit.pass.cpp | ||
+++ b/libcxx/test/std/language.support/support.start.term/quick_exit.pass.cpp | ||
@@ -16,6 +16,9 @@ | ||
|
||
// test quick_exit and at_quick_exit | ||
|
||
+// TODO: Find out why the at_quick_exit symbol is not found. | ||
+// XFAIL: LIBCXX-PICOLIBC-FIXME | ||
+ | ||
#include <cstdlib> | ||
|
||
void f() {} | ||
-- | ||
2.34.1 | ||
|
26 changes: 26 additions & 0 deletions
26
patches/llvm-project/0004-libc-tests-with-picolibc-mark-sort-test-as-long-one.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
From ac480df06d78bd7457d2a6333be8578cda88c240 Mon Sep 17 00:00:00 2001 | ||
From: =?UTF-8?q?Dominik=20W=C3=B3jt?= <dominik.wojt@arm.com> | ||
Date: Thu, 9 Nov 2023 14:14:30 +0100 | ||
Subject: [libc++] tests with picolibc: mark sort test as long one | ||
|
||
--- | ||
.../std/algorithms/alg.sorting/alg.sort/sort/sort.pass.cpp | 3 +-- | ||
1 file changed, 1 insertion(+), 2 deletions(-) | ||
|
||
diff --git a/libcxx/test/std/algorithms/alg.sorting/alg.sort/sort/sort.pass.cpp b/libcxx/test/std/algorithms/alg.sorting/alg.sort/sort/sort.pass.cpp | ||
index e2581fbf2fa6..99a9e1775513 100644 | ||
--- a/libcxx/test/std/algorithms/alg.sorting/alg.sort/sort/sort.pass.cpp | ||
+++ b/libcxx/test/std/algorithms/alg.sorting/alg.sort/sort/sort.pass.cpp | ||
@@ -6,8 +6,7 @@ | ||
// | ||
//===----------------------------------------------------------------------===// | ||
|
||
-// This test appears to hang with picolibc & qemu. | ||
-// UNSUPPORTED: LIBCXX-PICOLIBC-FIXME | ||
+// REQUIRES: long_test | ||
|
||
// <algorithm> | ||
|
||
-- | ||
2.34.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters