Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
ELF/InputFiles.cpp | ||
---|---|---|
486 ↗ | (On Diff #54574) | With this Body never gets to if (GV && GV->isThreadLocal()) Body->Type = STT_TLS; so STT_TLS (and on trunk CanOmitFromDynSym) is never set. Maybe we could split this function in two? One uses early returns to just construct the Body and the second one sets STT_TLS and CanOmitFromDynSym. |
test/ELF/lto/comdat2.ll | ||
3 ↗ | (On Diff #54574) | I think this test already passes when linking in this order, no? I think it is "%t2.o %t.o" that is currently broken. How about just testing both orders? |
Comment Actions
Addressed comments. If you don't like the helper names, feel free to suggest better ones.
Comment Actions
LGTM with a nit.
ELF/InputFiles.cpp | ||
---|---|---|
522 ↗ | (On Diff #54683) | This helper doesn't help much. Please inline it. |