summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/MipsFastISel.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2017-04-29 15:44:03 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2017-04-29 15:44:03 +0000
commitde8d9897d930ee473d8ebb374567bf89a634d07d (patch)
treedc281988c015dff5ff058963798d926a8c4cd038 /llvm/lib/Target/Mips/MipsFastISel.cpp
parentac7f3e24d3990962f7d1036e7ff2d29e17e9ef16 (diff)
downloadbcm5719-llvm-de8d9897d930ee473d8ebb374567bf89a634d07d.tar.gz
bcm5719-llvm-de8d9897d930ee473d8ebb374567bf89a634d07d.zip
Bring back r301678.
This version uses a set to speed up the synchronize method. Original message: 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: 301745
Diffstat (limited to 'llvm/lib/Target/Mips/MipsFastISel.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud