[PATCH] D126980: [Symbolize] Add log markup --filter to llvm-symbolizer.

Daniel Thornburgh via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 3 13:23:26 PDT 2022


mysterymath created this revision.
Herald added subscribers: rupprecht, hiraditya, mgorny.
Herald added a reviewer: jhenderson.
Herald added a project: All.
mysterymath updated this revision to Diff 434123.
mysterymath added a comment.
mysterymath added reviewers: phosek, mcgrathr.
mysterymath published this revision for review.
Herald added subscribers: llvm-commits, MaskRay.
Herald added a project: LLVM.

Clean up patch before code review.


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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D126980

Files:
  llvm/docs/CommandGuide/llvm-symbolizer.rst
  llvm/docs/Reference.rst
  llvm/docs/SymbolizerMarkupFormat.rst
  llvm/include/llvm/DebugInfo/Symbolize/Filter.h
  llvm/lib/DebugInfo/Symbolize/CMakeLists.txt
  llvm/lib/DebugInfo/Symbolize/Filter.cpp
  llvm/test/DebugInfo/symbolize-filter-color.test
  llvm/test/DebugInfo/symbolize-filter-symbol.test
  llvm/test/tools/llvm-symbolizer/filter.test
  llvm/tools/llvm-symbolizer/Opts.td
  llvm/tools/llvm-symbolizer/llvm-symbolizer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126980.434123.patch
Type: text/x-patch
Size: 38321 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220603/0b05d251/attachment-0001.bin>


More information about the llvm-commits mailing list