[all-commits] [llvm/llvm-project] 5f5779: * NFC. Refactored DIPrinter for better support of ...

orlov-alex via All-commits all-commits at lists.llvm.org
Mon Apr 5 04:41:05 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5f57793c4fe47aa3486a755768b43189351cbd15
      https://github.com/llvm/llvm-project/commit/5f57793c4fe47aa3486a755768b43189351cbd15
  Author: Alex Orlov <aorlov at accesssoftek.com>
  Date:   2021-04-05 (Mon, 05 Apr 2021)

  Changed paths:
    M llvm/include/llvm/DebugInfo/Symbolize/DIPrinter.h
    M llvm/lib/DebugInfo/Symbolize/DIPrinter.cpp
    M llvm/tools/llvm-symbolizer/llvm-symbolizer.cpp

  Log Message:
  -----------
  * NFC. Refactored DIPrinter for better support of new print styles.

This patch introduces a DIPrinter interface to implement by different output style printer implementations. DIPrinterGNU and DIPrinterLLVM implement the GNU and LLVM output style printing respectively. No functional changes.

This refactoring clarifies and simplifies the code, and makes a new output style addition easier.

Reviewed By: jhenderson, dblaikie

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




More information about the All-commits mailing list