Details
Details
Diff Detail
Diff Detail
- Repository
- rLLD LLVM Linker
Event Timeline
Comment Actions
Please add a test for the linker script.
ELF/ScriptParser.cpp | ||
---|---|---|
336 | I think you should do this only when Orig is false. Consider a scenario like this ld.lld -( a.o b.script c.o -) where b.script contains "GROUP(d.o e.o)". All these object files (i.e. a.o c.o d.o and e.o) should be in the same group, so we don't want to increment NextGroupId at end of the GROUP directive. |
I think you should do this only when Orig is false. Consider a scenario like this
where b.script contains "GROUP(d.o e.o)". All these object files (i.e. a.o c.o d.o and e.o) should be in the same group, so we don't want to increment NextGroupId at end of the GROUP directive.