[all-commits] [llvm/llvm-project] eb5af0: [Symbolize] Add log markup --filter to llvm-symbol...

Daniel Thornburgh via All-commits all-commits at lists.llvm.org
Mon Jun 27 10:44:50 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eb5af0acf054a73d461ac768d8cb035ee2a64383
      https://github.com/llvm/llvm-project/commit/eb5af0acf054a73d461ac768d8cb035ee2a64383
  Author: Daniel Thornburgh <dthorn at google.com>
  Date:   2022-06-27 (Mon, 27 Jun 2022)

  Changed paths:
    M llvm/docs/CommandGuide/llvm-symbolizer.rst
    M llvm/docs/Reference.rst
    M llvm/docs/ReleaseNotes.rst
    A llvm/docs/SymbolizerMarkupFormat.rst
    M llvm/include/llvm/DebugInfo/Symbolize/Markup.h
    A llvm/include/llvm/DebugInfo/Symbolize/MarkupFilter.h
    M llvm/lib/DebugInfo/Symbolize/CMakeLists.txt
    A llvm/lib/DebugInfo/Symbolize/MarkupFilter.cpp
    A llvm/test/DebugInfo/symbolize-filter-markup-color.test
    A llvm/test/DebugInfo/symbolize-filter-markup-error-location.test
    A llvm/test/DebugInfo/symbolize-filter-markup-symbol.test
    A llvm/test/DebugInfo/symbolize-filter-markup-tag.test
    A llvm/test/tools/llvm-symbolizer/filter-markup.test
    M llvm/tools/llvm-symbolizer/Opts.td
    M llvm/tools/llvm-symbolizer/llvm-symbolizer.cpp

  Log Message:
  -----------
  [Symbolize] Add log markup --filter to llvm-symbolizer.

This adds a --filter option to llvm-symbolizer. This takes log-bearing
symbolizer markup from stdin and writes a human-readable version to
stdout.

For now, this only implements the "symbol" markup tag; all others are
passed through unaltered. This is a proof-of-concept bit of
functionalty; implement the various tags is more-or-less just a matter
of hooking up various parts of the Symbolize library to the architecture
established here.

Reviewed By: peter.smith

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




More information about the All-commits mailing list