This just reorders the code and removes an assignment
of an empty string for the case when a relocation has
no symbol associated. With this our output becomes
cleaner and shorter.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
This is a reasonable change to eventually remove the implicit rule of .symtab definition.
tools/obj2yaml/elf2yaml.cpp | ||
---|---|---|
416 ↗ | (On Diff #225867) | R_X86_64_GOTPC32 and R_PPC64_TOC are examples that use 0 as the symbol index. We probably should not call them "edge cases". |
tools/obj2yaml/elf2yaml.cpp | ||
---|---|---|
413 ↗ | (On Diff #226006) | with symbol index 0. |