diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2017-04-28 20:22:47 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2017-04-28 20:22:47 +0000 |
commit | b3bc1ed0d414bb63fbf00427508989272d7fea86 (patch) | |
tree | f2d2a121ce72fcd3815183daf122cecbb9699478 /llvm/lib/CodeGen/LiveIntervalAnalysis.cpp | |
parent | 2d82590f640e4c014d7908b330d3681c951b1dcb (diff) | |
download | bcm5719-llvm-b3bc1ed0d414bb63fbf00427508989272d7fea86.tar.gz bcm5719-llvm-b3bc1ed0d414bb63fbf00427508989272d7fea86.zip |
Remove LinkerScript::flush.
This patch replaces flush with a last ditch attempt at synchronizing
the section list with the linker script "AST".
The synchronization is a bit of a hack and should in time be avoided
by creating the AST earlier so that modifications can be made directly
to it instead of modifying the section list and synchronizing it back.
This is the main step for fixing
https://bugs.llvm.org/show_bug.cgi?id=32816. With this in place I
think the only missing thing would be to have processCommands assign
section indexes as dummy offsets so that the sort in
OutputSection::finalize works.
With this LinkerScript::assignAddresses becomes much simpler, which
should help with the thunk work.
llvm-svn: 301678
Diffstat (limited to 'llvm/lib/CodeGen/LiveIntervalAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions