Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

toolchain: llvm: Allow TLS when using llvm targeting arm #72596

Merged

Conversation

jonathonpenix
Copy link
Contributor

@jonathonpenix jonathonpenix commented May 10, 2024

TLS for Arm targets seems to be well supported in clang/lld, so mark it as supported by the toolchain.

For testing, I ran twister locally using llvm targeting the qemu_cortex_m3 board as below and did not see any regressions:

west twister -c -W -p qemu_cortex_m3 -x=CONFIG_LLVM_USE_LLD=y -x=CONFIG_COMPILER_RT_RTLIB=y

TLS for Arm targets seems to be well supported in clang/lld, so mark it as
supported by the toolchain.

Signed-off-by: Jonathon Penix <jpenix@quicinc.com>
@zephyrbot zephyrbot added Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc. area: Toolchains Toolchains area: Build System labels May 10, 2024
@henrikbrixandersen henrikbrixandersen merged commit 99adbad into zephyrproject-rtos:main May 14, 2024
28 checks passed
@jonathonpenix jonathonpenix deleted the llvm_arm_tls branch May 14, 2024 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Build System area: Toolchains Toolchains Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants