diff options
author | Daniel Paoliello <danpao@microsoft.com> | 2025-07-14 15:06:31 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-14 15:06:31 -0700 |
commit | 13b720d255c48c67606fddeaf4abb1d496945c81 (patch) | |
tree | d8dd572f8e57ff4c1d236154f4519470a304a9d7 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 4b52d221a09b71c9dc0c0bb842ec706de663167c (diff) | |
download | llvm-13b720d255c48c67606fddeaf4abb1d496945c81.zip llvm-13b720d255c48c67606fddeaf4abb1d496945c81.tar.gz llvm-13b720d255c48c67606fddeaf4abb1d496945c81.tar.bz2 |
[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.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions