commit | fb1028740138d634227e928a584c0fd0104474ea | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Thu Nov 30 00:44:22 2017 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Thu Nov 30 00:44:22 2017 +0000 |
tree | 4284347d5994ec563be98828bed59fb21eab0d76 | |
parent | 310bfccbbf7b96ad78c417e362ac3e9714dba6de [diff] |
Check alignment in getSectionContentsAsArray. While the ArrayRef can technically have unaligned data, it would be extremely surprising if iterating over it caused undefined behavior when a reference to the underlying type was bound. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319392 91177308-0d34-0410-b5e6-96231b3b80d8