Code for handling TLS relocations was moved out scanRelocs() to new function handleTlsRelocations().
That is because scanRelocs already too large to put more TLS code into it.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM
ELF/Writer.cpp | ||
---|---|---|
195 ↗ | (On Diff #45382) | Instead of parameterizing isRela, you can parameterize RelT and change the function signature to bool(unsigned Type, SymbolBody *, InputSectionBase<ELFT> &, RelT &RI) |
196 ↗ | (On Diff #45382) | Relocations -> Relocation because this function handles one relocation at a time. |
ELF/Writer.cpp | ||
---|---|---|
196 ↗ | (On Diff #45382) | Ok, fixed. Just in case my meaning was "handle different types of TLS relocations" so I put (s). |