| commit | 13b720d255c48c67606fddeaf4abb1d496945c81 | [log] [tgz] |
|---|---|---|
| author | Daniel Paoliello <danpao@microsoft.com> | Mon Jul 14 15:06:31 2025 -0700 |
| committer | GitHub <noreply@github.com> | Mon Jul 14 15:06:31 2025 -0700 |
| tree | d8dd572f8e57ff4c1d236154f4519470a304a9d7 | |
| parent | 4b52d221a09b71c9dc0c0bb842ec706de663167c [diff] |
[win][x64] Re-use fixed object if multiple catchpads use the same alloca for their catch objects (#147849) Addresses <https://github.com/llvm/llvm-project/pull/147421#discussion_r2191234968> for x86 If more than one `catchpad ` uses the same `alloca` for their catch objects, then we will allocate more than one object in the fixed area resulting in wasted stack space. As a follow up, Clang could be updated to re-use the same `alloca` for all by-reference and by-pointer catch objects.
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.