diff options
author | Mariya Podchishchaeva <mariya.podchishchaeva@intel.com> | 2025-03-05 11:04:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-05 11:04:52 +0100 |
commit | 59169036ca0e064612886713d609873f776e85db (patch) | |
tree | 70fdc8e8388ae94d905f0f90377acb9e976aee62 /llvm/unittests/Support/ProgramTest.cpp | |
parent | 5c375c3283fcd2bf4f98fe8627658e056e25dc44 (diff) | |
download | llvm-59169036ca0e064612886713d609873f776e85db.zip llvm-59169036ca0e064612886713d609873f776e85db.tar.gz llvm-59169036ca0e064612886713d609873f776e85db.tar.bz2 |
[clang] Fix crash when #embed data does not fit into an array (#129567)
Tune SemaInit code handling #embed to take into account how many array
elements remains to initialize.
Also issue a warning/error message when the array/struct is at the end
but there is still #embed data left.
Fixes https://github.com/llvm/llvm-project/issues/128987
Diffstat (limited to 'llvm/unittests/Support/ProgramTest.cpp')
0 files changed, 0 insertions, 0 deletions