aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2018-01-25 17:42:03 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2018-01-25 17:42:03 +0000
commitdb9dd5b43ecf066eea1f57569f230ee018cae0e6 (patch)
tree23b6206be987a381b19537efa720064a867ccef7 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
parent034e11aca51b64c29cd2e47703e478df895cff9e (diff)
downloadllvm-db9dd5b43ecf066eea1f57569f230ee018cae0e6.zip
llvm-db9dd5b43ecf066eea1f57569f230ee018cae0e6.tar.gz
llvm-db9dd5b43ecf066eea1f57569f230ee018cae0e6.tar.bz2
Improve LMARegion handling.
This fixes the crash reported at PR36083. The issue is that we were trying to put all the sections in the same PT_LOAD and crashing trying to write past the end of the file. This also adds accounting for used space in LMARegion, without it all 3 PT_LOADs would have the same physical address. llvm-svn: 323449
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions