I suggest to add checks to test that we do not produce
output where VA of sections overruns available address space.
Details
Diff Detail
Event Timeline
LGTM with nits.
ELF/Writer.cpp | ||
---|---|---|
2011 | This is templated on ELFT, may as well use it. It might be cleaner to write this as one check |
ELF/Writer.cpp | ||
---|---|---|
1991–2007 | You should have changed the name of this function because it does more than checking section overlaps. |
ELF/Writer.cpp | ||
---|---|---|
1991–2007 | I renamed it to checkSections, it matches the command line option name. Does it sound fine? |
addresses -> address