| commit | e1aa2dff8a7a53fec14130e77d7da15d0ac482ca | [log] [tgz] |
|---|---|---|
| author | Nikita Popov <npopov@redhat.com> | Thu Sep 11 15:47:25 2025 +0200 |
| committer | GitHub <noreply@github.com> | Thu Sep 11 15:47:25 2025 +0200 |
| tree | 43bec593ad9a3ac9f2f8541b17d8f30c631d4b37 | |
| parent | 23302a2aacb31f30a80e9ae3105d215c14ab363e [diff] |
[flang-rt] Use -Wp to undefine macros (#156034) If the macro was previously defined with `-Wp,-D` then a later `-U` is *not* going to take effect, the `-Wp` flag takes precedence. Instead use `-Wp,-U`. This works regardless of whether the original definition was provided via `-D` or `-Wp,-D`. Also make sure these flags only get passed to the C++ compiler -- they are only relevant there, and flang does not support `-Wp`.
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.