It is possible to use yaml2obj to create sections with overlapping sh_offset now.
This patch does that.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM, with one possible suggestion.
test/tools/llvm-objcopy/ELF/overlapping-sections-in-segments.test | ||
---|---|---|
7 ↗ | (On Diff #220298) | I don't mind if you want to keep it, but you can probably just get rid of the sanity check now. Now it is just a check that yaml2obj works as expected. |
test/tools/llvm-objcopy/ELF/overlapping-sections.test | ||
6 ↗ | (On Diff #220298) | Ditto. |
test/tools/llvm-objcopy/ELF/overlapping-sections-in-segments.test | ||
---|---|---|
7 ↗ | (On Diff #220298) | Yeah, I thought about that too. I had no strong feeling. I'll remove then. |