aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/StackMaps.cpp
diff options
context:
space:
mode:
authorYounan Zhang <zyn7109@gmail.com>2025-05-21 10:02:34 +0800
committerGitHub <noreply@github.com>2025-05-21 10:02:34 +0800
commit701fe51fd667904d160fb46b6ceba09006fe8291 (patch)
treea4b4a1d45c1a7f00c2eb3ba933ac01b7394ae09c /llvm/lib/CodeGen/StackMaps.cpp
parent064912217cfd2a91debfef8ffa65217991b087f5 (diff)
downloadllvm-701fe51fd667904d160fb46b6ceba09006fe8291.zip
llvm-701fe51fd667904d160fb46b6ceba09006fe8291.tar.gz
llvm-701fe51fd667904d160fb46b6ceba09006fe8291.tar.bz2
[Clang] Fix an inadvertent overwrite of sub-initializers (#140714)
When using InitChecker with VerifyOnly, we create a new designated initializer to handle anonymous fields. However in the last call to CheckDesignatedInitializer, the subinitializer isn't properly preserved but it gets overwritten by the cloned one. Which causes the initializer to reference the dependent field, breaking assumptions when we initialize the instantiated specialization. Fixes https://github.com/llvm/llvm-project/issues/67173
Diffstat (limited to 'llvm/lib/CodeGen/StackMaps.cpp')
0 files changed, 0 insertions, 0 deletions