[all-commits] [llvm/llvm-project] a6339d: [clang]Fix Handle structs exceeding 1EB size limit...
kd0608 via All-commits
all-commits at lists.llvm.org
Tue Jul 1 04:19:02 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a6339d0e5854b38fb8d9ec28974e129fdd0961f0
https://github.com/llvm/llvm-project/commit/a6339d0e5854b38fb8d9ec28974e129fdd0961f0
Author: kd0608 <42680371+Karthikdhondi at users.noreply.github.com>
Date: 2025-07-01 (Tue, 01 Jul 2025)
Changed paths:
M clang/include/clang/Basic/DiagnosticASTKinds.td
M clang/lib/AST/RecordLayoutBuilder.cpp
A clang/test/AST/absurdly_big_struct.cpp
M clang/test/Sema/offsetof-64.c
Log Message:
-----------
[clang]Fix Handle structs exceeding 1EB size limit (#146032)
When declaring multiple arrays of 1 ExaByte in a struct, the offset can
exceed 2EB, causing incorrect struct size reporting (only 1EB). This fix
ensures an error is thrown, preventing the generation of incorrect
assembly. #60272
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list