The majority of the printRelocation and printDynamicRelocation functions were identical. This patch factors this all out into a new function. There are a couple of minor differences to do with printing of symbols without names, but I think these are harmless, and in some cases a small improvement.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM
tools/llvm-readobj/ELFDumper.cpp | ||
---|---|---|
2601 ↗ | (On Diff #192285) | Shall we make this->dumper() into local variable? Because I noticed this->dumper() in printRelocation() and printDynamicRelocation() are used twice. But I don't mind. |