diff options
author | Alexander Potapenko <glider@google.com> | 2019-02-26 10:46:21 +0000 |
---|---|---|
committer | Alexander Potapenko <glider@google.com> | 2019-02-26 10:46:21 +0000 |
commit | 4f7bc0eee7e6099b1abd57dac3c83529944ab23c (patch) | |
tree | 136f2e89c0697c93302121948ac81e42e70dd734 /clang/lib/Sema/SemaCodeComplete.cpp | |
parent | 53350d041154350bcacbca5a7692d910e0a741de (diff) | |
download | llvm-4f7bc0eee7e6099b1abd57dac3c83529944ab23c.zip llvm-4f7bc0eee7e6099b1abd57dac3c83529944ab23c.tar.gz llvm-4f7bc0eee7e6099b1abd57dac3c83529944ab23c.tar.bz2 |
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
llvm-svn: 354861
Diffstat (limited to 'clang/lib/Sema/SemaCodeComplete.cpp')
0 files changed, 0 insertions, 0 deletions