Peter Collingbourne b2e7b85468 hwasan: Align n_namesz and n_descsz to 4 when reading notes.
There is no requirement for the producer of a note to include the note
alignment in these fields. As a result we can end up missing the HWASAN note
if one of the other notes in the binary has the alignment missing.

Differential Revision: https://reviews.llvm.org/D66692

llvm-svn: 369826
2019-08-23 23:33:26 +00:00
..
2019-08-22 21:36:35 +00:00
2019-08-22 20:44:34 +00:00
2019-08-21 05:06:21 +00:00
2019-08-22 21:36:35 +00:00