commit | 742fa8ac67796198dde99e18cdadeaf9b96c2f88 | [log] [tgz] |
---|---|---|
author | Austin <zhenhangwang@huawei.com> | Mon Mar 03 20:20:43 2025 +0800 |
committer | GitHub <noreply@github.com> | Mon Mar 03 20:20:43 2025 +0800 |
tree | 73a8d35f5c6578ecd41e5a0e503b278e60b9ddcc | |
parent | 370d34fe40162946905b900097ed746dd4aeb6ad [diff] |
[ARM] Introduce -mtp=auto and make it the default (#128901) This adds a new value auto to the possible values of the existing -mtp= clang option which controls how the thread pointer is found. auto means the same as soft if the target architecture doesn't support a hardware thread pointer at all; otherwise it means the same as cp15. This behavior is the default in gcc version 4.1.0 and later. The new auto option is therefore also the default in clang, so this change aligns clang with gcc. Fixes #123864.
Welcome to the LLVM project!
This repository contains the source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and run-time environments.
The LLVM project has multiple components. The core of the project is itself called “LLVM”. This contains all of the tools, libraries, and header files needed to process intermediate representations and convert them into object files. Tools include an assembler, disassembler, bitcode analyzer, and bitcode optimizer.
C-like languages use the Clang frontend. This component compiles C, C++, Objective-C, and Objective-C++ code into LLVM bitcode -- and from there into object files, using LLVM.
Other components include: the libc++ C++ standard library, the LLD linker, and more.
Consult the Getting Started with LLVM page for information on building and running LLVM.
For information on how to contribute to the LLVM project, please take a look at the Contributing to LLVM guide.
Join the LLVM Discourse forums, Discord chat, LLVM Office Hours or Regular sync-ups.
The LLVM project has adopted a code of conduct for participants to all modes of communication within the project.