That helps to avoid expressions like I + 2 in code
that assigns version number to symbols.
Change was suggested by Rui Ueyama.
Paths
| Differential D22086
[ELF] - Add Id field to Version struct. ClosedPublic Authored by grimar on Jul 7 2016, 3:20 AM.
Details Summary That helps to avoid expressions like I + 2 in code Change was suggested by Rui Ueyama.
Diff Detail Event TimelineThis revision is now accepted and ready to land.Jul 8 2016, 9:24 AM grimar edited edge metadata. Comment ActionsAfter rebasing I had to modify that patch. I had to introduce createSymbolVersion() method, Closed by commit rL275159: [ELF] - Add Id field to Version struct. (authored by grimar). · Explain WhyJul 12 2016, 12:52 AM This revision was automatically updated to reflect the committed changes. Comment Actions
Ok, after moving to .h it is under lld::elf namespace.
Revision Contents
Diff 63047 ELF/Config.h
ELF/SymbolListFile.cpp
ELF/SymbolTable.cpp
|
I'd move this after Name so that Name and Id (arguments passed by user) are next to each other.