aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2017-12-24 03:46:35 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2017-12-24 03:46:35 +0000
commit6a97f8075588d1fa739b82844749e2a0682c8bde (patch)
tree6893826c4e4c863e500f0b3b824be9fe017ebd6e /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
parentf65a6e4ed827fbbec486ab3d6d4a3e56a2311016 (diff)
downloadllvm-6a97f8075588d1fa739b82844749e2a0682c8bde.zip
llvm-6a97f8075588d1fa739b82844749e2a0682c8bde.tar.gz
llvm-6a97f8075588d1fa739b82844749e2a0682c8bde.tar.bz2
Fix output section offset and contents when linker script uses memory region and data commands.
Advance the memory region offset when handling a linker script data command such as BYTE or LONG. Failure to advance the offset results in corrupted output with overlapping sections. Update tests to check for this combination of both a) memory regions and b) data commands. Fixes https://bugs.llvm.org/show_bug.cgi?id=35565 Patch by Owen Shaw! llvm-svn: 321418
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions