commit | 120f6301ed5cd3e0c54e912d4b303281753462d3 | [log] [tgz] |
---|---|---|
author | Vedant Kumar <[email protected]> | Tue Feb 23 20:46:14 2016 |
committer | Vedant Kumar <[email protected]> | Tue Feb 23 20:46:14 2016 |
tree | 0e85848d556e11dde1392edb7adda0e0aafd1e9a | |
parent | d5b688c8e8e4cb5f4c80583355f208c5ffdcc3e8 [diff] |
[profile] Fix iteration over profile data entries Fix a crash when gathering value profile data on i386 Darwin. The Darwin linker shrinks sections containing aligned structures when padding is not explicitly added to the end of the structure. When iterating over these structures, be sure to not walk past the end of the section. No tests added, since running `ninja check-profile` on i386 Darwin is enough to reproduce the original crash. llvm-svn: 261683