Skip to content

[ATfE] Enable minimal libc++ testing with LLVM libc - #953

Open
voltur01 wants to merge 1 commit into
arm:arm-softwarefrom
voltur01:test_libcxx_with_libc
Open

[ATfE] Enable minimal libc++ testing with LLVM libc#953
voltur01 wants to merge 1 commit into
arm:arm-softwarefrom
voltur01:test_libcxx_with_libc

Conversation

@voltur01

Copy link
Copy Markdown
Contributor

This adds one AArch64 and two Armv7-M (softfp and hardfp) configurations to test libc++ on top on LLVM libc.

This requires some small changes/fixes along the way:

  • JSON files enable tests and also provide enough memory for C++ tests.
  • CMake and lit option to tell which C library is used for C++ tests.
  • CMake disable unused rt library.
  • Test runners to only pass the name of the test binary - not full paths that exceeds LLVM libc bootcode limit and is not used anyway.
  • Enable stderr to be used separately from stdout in LLVM semihosting and FVP parameters.

The resulting failures added to the xfail list: mostly missing functionality or mismatch with hosted behavior. A few stdin tests excluded since they hang with semihosting thus trigger the long timeout.

This adds one AArch64 and two Armv7-M (softfp and hardfp) configurations
to test libc++ on top on LLVM libc.

This requires some small changes/fixes along the way:
- JSON files enable tests and also provide enough memory for C++ tests.
- CMake and lit option to tell which C library is used for C++ tests.
- CMake disable unused rt library.
- Test runners to only pass the name of the test binary - not full paths that
  exceeds LLVM libc bootcode limit and is not used anyway.
- Enable stderr to be used separately from stdout in LLVM semihosting and FVP
  parameters.

The resulting failures added to the xfail list: mostly missing functionality or
mismatch with hosted behavior. A few stdin tests excluded since they hang with
semihosting thus trigger the long timeout.
@voltur01
voltur01 requested a review from a team as a code owner July 24, 2026 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant