[all-commits] [llvm/llvm-project] 10c11f: [llvm-pdbutil] Move global state (Filters) inside ...

Carlos Alberto Enciso via All-commits all-commits at lists.llvm.org
Fri Apr 8 06:58:24 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 10c11f5c434a4162debcb53d43c8d01e9e111d21
      https://github.com/llvm/llvm-project/commit/10c11f5c434a4162debcb53d43c8d01e9e111d21
  Author: Carlos Alberto Enciso <carlos.alberto.enciso at gmail.com>
  Date:   2022-04-08 (Fri, 08 Apr 2022)

  Changed paths:
    M llvm/include/llvm/DebugInfo/PDB/Native/InputFile.h
    M llvm/include/llvm/DebugInfo/PDB/Native/LinePrinter.h
    M llvm/lib/DebugInfo/PDB/Native/InputFile.cpp
    M llvm/lib/DebugInfo/PDB/Native/LinePrinter.cpp
    M llvm/tools/llvm-pdbutil/DumpOutputStyle.cpp

  Log Message:
  -----------
  [llvm-pdbutil] Move global state (Filters) inside LinePrinter class.

The changes described by:

https://reviews.llvm.org/D121801
https://reviews.llvm.org/D122226

Moved some llvm-pdbutil functionality to the debug PDB library.

This patch addresses one outstanding issue concerning the global
state (Filters) created in the PDB library.

- Move 'Filters' inside the 'LinePrinter' class.
- Omit 'Optional' and just pass 'PrintScope &HeaderScope' everywhere.

Reviewed By: aganea

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




More information about the All-commits mailing list