[all-commits] [llvm/llvm-project] dbb818: [llvm-readobj/elf] - Generalize the code for print...

Georgii Rymar via All-commits all-commits at lists.llvm.org
Mon Sep 7 05:37:38 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: dbb81881955d641bc873442e75874a5cb160f4ee
      https://github.com/llvm/llvm-project/commit/dbb81881955d641bc873442e75874a5cb160f4ee
  Author: Georgii Rymar <grimar at accesssoftek.com>
  Date:   2020-09-07 (Mon, 07 Sep 2020)

  Changed paths:
    M llvm/tools/llvm-readobj/ELFDumper.cpp

  Log Message:
  -----------
  [llvm-readobj/elf] - Generalize the code for printing dynamic relocations. NFCI.

Currently we have 2 large `printDynamicRelocations` methods that
have a very similar code for GNU/LLVM styles.

This patch removes the duplication and renames them to `printDynamicReloc`
for consistency.

Differential revision: https://reviews.llvm.org/D87087




More information about the All-commits mailing list