commit | 7a3b5d789d5fee6fe9883b6a3cb9d2ede4262276 | [log] [tgz] |
---|---|---|
author | Aaron Ballman <aaron@aaronballman.com> | Thu May 22 06:47:34 2025 -0400 |
committer | GitHub <noreply@github.com> | Thu May 22 06:47:34 2025 -0400 |
tree | c607c15e6907d6cfa67c6a3109e1ee0cf1680ab4 | |
parent | c42c91cde41bc403aaf733ebe3ef849861e08dde [diff] |
[C] Fix crash-on-invalid due to infinite recursion (#140925) There are two related issues being fixed in this patch. Both issues relate to use of an invalid structure which contains a member that we error recover such that the field has the same type as the structure. In both cases, we would hit an infinite loop while analyzing the fields because the type of the field matches the type of the record. Fixes #140887
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.