commit | cd071253c70b3b37a0b9d113709ca9d49a83007e | [log] [tgz] |
---|---|---|
author | Fangrui Song <i@maskray.me> | Fri Mar 15 10:50:21 2024 -0700 |
committer | GitHub <noreply@github.com> | Fri Mar 15 10:50:21 2024 -0700 |
tree | 449b7d9c41db8fcfbfad6e5b651474a067888f84 | |
parent | b8db3e7c7dddaa14c314a05b92c9fa3df38734e4 [diff] |
[Driver] Don't alias -mstrict-align to -mno-unaligned-access GCC ports only supports one of the options, with -mstrict-align preferred by newer ports. They reject adding -m[no-]unaligned-access to newer ports that use -m[no-]strict-align. (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111555). We should not support aliases, either. Since the behavior has been long-time for ARM (a146a48349c965932dcf304ffb8155b25307f245), support both forms for ARM for now but remove -m[no-]unaligned-access for RISC-V/LoongArch (see also https://github.com/riscv-non-isa/riscv-c-api-doc/pull/62). While here, add TargetSpecific to ensure errors on unsupported targets (https://reviews.llvm.org/D151590) and remove unneeded CC1 options. Pull Request: https://github.com/llvm/llvm-project/pull/85350
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.