| commit | 309d83e57f59b8fff7b6806d6f9e2fd56c91e353 | [log] [tgz] |
|---|---|---|
| author | Alexander Potapenko <glider@google.com> | Tue Feb 26 10:46:21 2019 +0000 |
| committer | Alexander Potapenko <glider@google.com> | Tue Feb 26 10:46:21 2019 +0000 |
| tree | 6f9ba74259777ae5ef9a54a60e53985f78d014ca | |
| parent | 1f02068469ff18f5fc5728cafe9d96ee5f66c5b9 [diff] |
CodeGen: Explicitly initialize structure padding in the -ftrivial-auto-var-init mode When generating initializers for local structures in the -ftrivial-auto-var-init mode, explicitly wipe the padding bytes with either 0x00 or 0xAA. This will allow us to automatically handle the padding when splitting the initialization stores (see https://reviews.llvm.org/D57898). Reviewed at https://reviews.llvm.org/D58188 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@354861 91177308-0d34-0410-b5e6-96231b3b80d8