| commit | 58de1e2c5eee548a9b365e3b1554d87317072ad9 | [log] [tgz] |
|---|---|---|
| author | Wesley Wiser <wwiser@gmail.com> | Wed Mar 27 15:05:58 2024 +0000 |
| committer | GitHub <noreply@github.com> | Wed Mar 27 15:05:58 2024 +0000 |
| tree | 76550c90842854462c519557ad8f4d16e1bae883 | |
| parent | 91896607ffb84561a7a2e466a00fdf1938c5bb63 [diff] |
Fix stack layout for frames larger than 2gb (#84114) For very large stack frames, the offset from the stack pointer to a local can be more than 2^31 which overflows various `int` offsets in the frame lowering code. This patch updates the frame lowering code to calculate the offsets as 64-bit values and resolves the overflows, resulting in the correct codegen for very large frames. Fixes #48911
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.