summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AMDGPU/SIFrameLowering.cpp
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2016-02-23 20:46:14 +0000
committerVedant Kumar <vsk@apple.com>2016-02-23 20:46:14 +0000
commit120f6301ed5cd3e0c54e912d4b303281753462d3 (patch)
tree0e85848d556e11dde1392edb7adda0e0aafd1e9a /llvm/lib/Target/AMDGPU/SIFrameLowering.cpp
parentd5b688c8e8e4cb5f4c80583355f208c5ffdcc3e8 (diff)
downloadbcm5719-llvm-120f6301ed5cd3e0c54e912d4b303281753462d3.tar.gz
bcm5719-llvm-120f6301ed5cd3e0c54e912d4b303281753462d3.zip
[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
Diffstat (limited to 'llvm/lib/Target/AMDGPU/SIFrameLowering.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud