[all-commits] [llvm/llvm-project] 2aab46: [llvm-objdump][COFF][NFC] Split format-specific in...

Hubert Tong via All-commits all-commits at lists.llvm.org
Thu Apr 2 15:42:19 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2aab46ab0282b968de8593f916950d793a5a76d6
      https://github.com/llvm/llvm-project/commit/2aab46ab0282b968de8593f916950d793a5a76d6
  Author: Hubert Tong <hubert.reinterpretcast at gmail.com>
  Date:   2020-04-02 (Thu, 02 Apr 2020)

  Changed paths:
    M llvm/tools/llvm-objdump/COFFDump.cpp
    A llvm/tools/llvm-objdump/COFFDump.h
    M llvm/tools/llvm-objdump/llvm-objdump.cpp
    M llvm/tools/llvm-objdump/llvm-objdump.h

  Log Message:
  -----------
  [llvm-objdump][COFF][NFC] Split format-specific interfaces; add namespace

Summary:
This patch addresses, for the interfaces implemented by `COFFDump.cpp`,
multiple issues identified with the current structure of
`llvm-objdump.h` in the review of D72973.

This patch moves implementation details of the tool into an
`llvm::objdump` namespace for external linkage names, splits the
implementation details into separate headers for each implementation
file, and uses qualified names when declaring members of the
`llvm::objdump` namespace in place of leaving the namespace definition
open.

Reviewers: jhenderson, DiggerLin, jasonliu, daltenty, MaskRay

Reviewed By: jhenderson, MaskRay

Subscribers: MaskRay, rupprecht, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D77285




More information about the All-commits mailing list