aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Sema/SemaChecking.cpp
diff options
context:
space:
mode:
authorWesley Wiser <wwiser@gmail.com>2024-03-27 15:05:58 +0000
committerGitHub <noreply@github.com>2024-03-27 15:05:58 +0000
commit58de1e2c5eee548a9b365e3b1554d87317072ad9 (patch)
tree76550c90842854462c519557ad8f4d16e1bae883 /clang/lib/Sema/SemaChecking.cpp
parent91896607ffb84561a7a2e466a00fdf1938c5bb63 (diff)
downloadllvm-58de1e2c5eee548a9b365e3b1554d87317072ad9.zip
llvm-58de1e2c5eee548a9b365e3b1554d87317072ad9.tar.gz
llvm-58de1e2c5eee548a9b365e3b1554d87317072ad9.tar.bz2
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
Diffstat (limited to 'clang/lib/Sema/SemaChecking.cpp')
0 files changed, 0 insertions, 0 deletions