| commit | b0bdc7fcc995fe6cf6ca9a184fc6ed211fc7b608 | [log] [tgz] |
|---|---|---|
| author | Peter Klausler <pklausler@nvidia.com> | Wed Sep 18 12:18:50 2024 -0700 |
| committer | GitHub <noreply@github.com> | Wed Sep 18 12:18:50 2024 -0700 |
| tree | f83a8283c43a647deb3ab328816cbd11ce366b97 | |
| parent | d5d1417659267f7247668f46cd51bd748b368fa3 [diff] |
[flang] Fix subtle type naming bug in module file output (#108892) A derived type specification in semantics holds both its source name (for location purposes) and its ultimate derived type symbol. But for correct module file generation of a structure constructor using that derived type spec, the original symbol may be needed so that USE association can be exposed. Save both the original symbol and its ultimate symbol in the DerivedTypeSpec, and collect the right one when traversing expressions (specifically for handling initialization in module files). Fixes https://github.com/llvm/llvm-project/issues/108827.
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.