Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/ObjectYAML/ELFEmitter.cpp | ||
---|---|---|
1304–1306 | I can see why this is needed, but why wasn't it needed before, and what's the impact of adding it? Same applies in a few other places too. |
llvm/lib/ObjectYAML/ELFEmitter.cpp | ||
---|---|---|
1304–1306 | Previously when we had either Content or Size, the code on the left wrote some data and returned. After this patch we handle Content/Size for all types of sections in a single common place before writeSectionContent method is called. Perhaps worth to rename writeSectionContent to finalizeSection or alike. |
I can see why this is needed, but why wasn't it needed before, and what's the impact of adding it? Same applies in a few other places too.