That allows to add new synthetic sections and not worry
about updating one more list for finalization.
Details
Diff Detail
Event Timeline
ELF/Writer.cpp | ||
---|---|---|
1023–1043 | This function probably should go away. You shouldn't call assignOffsets every time you finalize one synthetic section. | |
1030–1033 | This comment doesn't seem to make much sense. You want to mention that dynamic symbols depends on other section contents so they need to be finalized later. | |
1035–1038 | Remove this lambda and inline. | |
1172 | finalizeSyntheticSections. |
ELF/Writer.cpp | ||
---|---|---|
1023–1043 | Can you do that in this patch too? |
ELF/Writer.cpp | ||
---|---|---|
1023–1043 | This patch is not about changing how we assign offsets, so I do not think that make sence in context of it. |
Please do that in this patch. If some change makes other part of code look too funny, this should be addressed at the same time.
This comment doesn't seem to make much sense. You want to mention that dynamic symbols depends on other section contents so they need to be finalized later.