| commit | 4ed10db85919d3d87bf0b3353340b58354a75994 | [log] [tgz] |
|---|---|---|
| author | Sam James <sam@gentoo.org> | Sat Jun 14 14:07:14 2025 +0100 |
| committer | Sam James <sam@gentoo.org> | Sun Jun 15 02:34:42 2025 +0100 |
| tree | a0245bb7023a856b7a549be40f4033f5f641daeb | |
| parent | 951ea8b681451ff2db8b895f1dcfe0fbc91d939a [diff] |
[clang][cmake] Don't pass -fno-strict-aliasing for GCC This was added a long time ago.. * to the Makefiles in 40fee6313df688d43d1f8bbe85bc35161689afca; * first to CMake in b3ce035c7155644d5bced46c45ae5ac865b7aedc; * then moved to only apply when building Clang with GCC in c5635a6af7c643169f81145bfae8c895f2207792. This shouldn't be needed these days. If an issue does arise, it really ought to be documented better and the cause will certainly be different than it was back then. The two GCC bugs cited in 40fee6313df688d43d1f8bbe85bc35161689afca were: * https://gcc.gnu.org/PR41874 * https://gcc.gnu.org/PR41838 and both are long-fixed. Not only that, if those issues did come up again, we'd be better off doing -Wno-strict-aliasing where appropriate if there weren't a real code issue or some suppression that was tighter in scope wasn't appropriate.
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.